大智慧缺口时窗主图指标公式,大智慧缺口顶底主图指标公式
admin888
|大智慧缺口时窗主图指标公式,大智慧缺口顶底主图指标公式
大智慧缺口时窗主图指标公式
{缺口}stickline(L>REF(H,1),L,REF(H,1),50,1001),color0000FF;
stickline(REF(L,1)>H,ref(L,1),H,50,1001),color00FF00;
{时窗}ma1:MA((O+C+H+L)/4,5),COLORCYAN;
MA2:MA((O+C+H+L)/4,18),COLORYELLOW;
MA3:MA((O+C+H+L)/4,34),COLORRED;
MA4:MA((O+C+H+L)/4,55),COLORBLUE;
MA5:MA((O+C+H+L)/4,89),COLORWHITE;
E1:=BARSCOUNT(C);
AH:=HHV(H,200);
AL:=LLV(L,200);
B0:=(AH-AL)/40;
KB1:=H+B0;
KB2:=L-B0;
STICKLINE((E1+0)/34=FLOOR((E1+0)/34),KB2,KB2-0.8*B0,1,0),COLORYELLOW,LINETHICK1;
DRAWTEXT((E1+0)/34=FLOOR((E1+0)/34),KB2-B0,'☆时窗'),COLORYELLOW;
{压撑}AA1:=AMOUNT/V;
BB1:=L
DD1:=L
EE1:=V
DOUDOU:BB1 AND CC1 AND DD1 AND EE1,LINETHICK0,COLOR0099FF;
DRAWTEXT(DOUDOU,L*0.99,'◎买'),COLOR0099FF;PP:=REF(C,1);
QQ:=SMA(MAX(C-PP,0),6,1)/SMA(Abs(C-PP),6,1)*100;
DRAWTEXT(crOSS(82,QQ),H*1.01,'◎卖'),COLORYELLOW;KOH:=LOW>REF(HIGH,1);
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORRED;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10);
C1:=BacKSET(B1,10+1);
HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);
B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1);
LD:=FILTER(C2,10);
A:=REF(C,BArslAST(HD));
B:=REF(L,BARSLAST(LD));
T1:=BARSLAST(HD)
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
顶:IF(T1,A,A),COLORYELLOW,POINTDOT,LINETHICK1;
底:IF(T2,B,B),COLORGREEN,POINTDOT,LINETHICK1;
大智慧缺口顶底主图指标公式
说明:向上跳空红色,向下跳空绿色。{缺口}stickline(L>REF(H,1),L,REF(H,1),50,1001),color0000FF;
stickline(REF(L,1)>H,ref(L,1),H,50,1001),color00FF00;
{顶底}DRAWTEXT(crOSS(REF(zig(3,19),1),ZIG(3,19)),HIGH*1.01,'逃'),coloryellow;
DRAWTEXT(CROSS(ZIG(3,19),REF(ZIG(3,19),1)),LOW*0.99,'进'),colorred;
IF (CROSS(REF(ZIG(3,19),1),ZIG(3,19)),HIGH*1.01,0);
IF(CROSS(ZIG(3,19),REF(ZIG(3,19),1)),LOW*0.99,0);
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。