通达信多空波段超跌极底套装指标公式源码:
主图指标公式源码:
DRAWGBK(C>0,RGB(0,150,150),RGB(0,00,100),0,’ ‘,0),LINETHICK2;
高1:=REF(HHV(H,120),3);低1:=REF(LLV(L,120),3);
H1:=高1-(高1-低1)*0.191;H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
基准:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1));
STICKLINE(A1X>=0,基准,突破,5,0),COLOR000099;
STICKLINE(A1X<0,基准,突破,5,0),COLOR00CC66;
AA:=CROSS(A1X,0),LINETHICK0;
STICKLINE(A1X>=0,C,O,2.7,0),COLOR0011FF;
STICKLINE(A1X>=0,C,O,1.8,0),COLOR0044FF;
STICKLINE(A1X>=0,C,O,0.9,0),COLOR0077FF;
STICKLINE(A1X>=0,C,O,0.1,0),COLOR0099FF;
STICKLINE(A1X>=0,H,L,0,0),COLOR0099FF;
STICKLINE(AA,C,O,2.7,0),COLOR330033;
STICKLINE(AA,C,O,1.8,0),COLOR770077;
STICKLINE(AA,C,O,0.9,0),COLORBB00BB;
STICKLINE(AA,C,O,0.1,0),COLORFF00FF;
STICKLINE(AA,H,L,0,0),COLORFF00FF;
DRAWICON(AA,C*0.92,9);
{云析赢指标公式网,指标公式,指标源码,指标编写教程、指标破解指标论坛。www.zbgs518.com}
DRAWTEXT(AA,C*0.98,’猛虎’),COLORRED;
BB:=CROSS(0,A1X),LINETHICK0;
STICKLINE(A1X<0,C,O,2.7,0),COLORAAAAAA;
STICKLINE(A1X<0,C,O,1.8,0),COLORCCCCCC;
STICKLINE(A1X<0,C,O,0.9,0),COLORDDDDDD;
STICKLINE(A1X<0,C,O,0.1,0),COLORFFFFFF;
STICKLINE(A1X<0,H,L,0,0),COLORFFFFFF;
STICKLINE(BB,C,O,2.7,0),COLOR333300;
STICKLINE(BB,C,O,1.8,0),COLOR555500;
STICKLINE(BB,C,O,0.9,0),COLOR777700;
STICKLINE(BB,C,O,0.1,0),COLOR999900;
STICKLINE(BB,H,L,0,0),COLOR999900;
DRAWICON(BB,C*1.05,15);
DRAWTEXT(BB,C*1.01,’熊来’),COLOR00FF00;
幅图指标公式源码:
STICKLINE(MA(C,10)>=REF(MA(C,10),1),10.5,2.5,4,0),COLOR330066;STICKLINE(MA(C,10)<=REF(MA(C,10),1),10.5,2.5,4,0),COLOR663300;黄柱超跌:IF(1=1,DRAWNULL,DRAWNULL),COLOR00FFFF;{云析赢指标公式网,指标公式,指标源码,指标编写教程、指标破解指标论坛。www.zbgs518.com}猛虎貔貅:IF(1=1,DRAWNULL,DRAWNULL),COLORFFFFFF;JJ:=(2*C+H+L+O)/5;STICKLINE(JJ>EMA(JJ,10),4,5.5,1,0),COLOR3320FF;STICKLINE(JJ<EMA(JJ,10),4,5.5,1,0),COLORFF7700;LC:=REF(C,1);XX:=REF(LLV(LC,2),1);ET2:=HHV(HHV(LC,2),20);YY:=IF(MA(C,3)>MA(C,21),MA(C,21),MA(C,3));STICKLINE(MA(C,8)<REF(MA(C,8),1),5.5,4.8,1,1),COLOR00FF00;STICKLINE(YY>REF(YY,1) AND YY=MA(C,21),5.5,4.8,1,1),COLORFF00FF;VAR1:=(HHV(H,21)-C)/(HHV(H,21)-LLV(L,21))*100;VAR3:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;VAR6:=VAR3-VAR1;趋势线:=EMA((C-LLV(L,11))/(HHV(H,25)-LLV(L,11))*4,8)*10;DRAWICON(HHV(趋势线,5)>34 AND (C=HHV(C,10) OR H=HHV(H,10)),3.5,2);DRAWICON(LLV(趋势线,5)<3 AND (C=LLV(C,10) OR L=LLV(L,10)),3.5,9);STICKLINE(LLV(MA(VAR6,5),5)<-45 AND (C=LLV(C,10) OR L=LLV(L,10)),3.8,5,1,0),COLOR00FFFF;貔貅:STICKLINE(HHV(MA(VAR6,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9.5,6.5,1,0),,COLORFFFFFF;STICKLINE(HHV(MA(VAR6,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),8.9,8.85,4,0),,COLORFFFF00;IF(HHV(MA(VAR6,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9.4,DRAWNULL),CROSSDOT,COLORCC3333,LINETHICK2;IF(HHV(MA(VAR6,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9.2,DRAWNULL),CROSSDOT,COLORCC3333,LINETHICK2;IF(HHV(MA(VAR6,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9,DRAWNULL),CROSSDOT,COLORCC3333,LINETHICK2;
指标公式截图: