龙回头通达信指标公式

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);{通达信指标公式WWW.HAO169CN.COM}
D:=SMA(K,3,1);
J:=3*K-2*D;
J1:=REVERSE(J);
AA:=REF(MA(C,1),10)>REF(MA(C,60),10);
rrt:CROSS(J,J1) AND AA;
STICKLINE(rrt,0,30,6,0),COLORBLUE;
STICKLINE(rrt,30,60,4,0),COLORWHITE;
STICKLINE(rrt,60,80,2,0),COLORYELLOW;
DRAWTEXT(rrt,70,'龙回头'),COLORRED;
bbss1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
bbss2:=SMA(ABS(LOW-bbss1),13,1)/SMA(MAX(LOW-bbss1,0),10,1);
bbss3:=EMA(bbss2,10);
bbss4:=LLV(LOW,33);
bbss5:=EMA(IF(LOW<=bbss4,bbss3,0),3);
通达信指标公式:IF(bbss5>REF(bbss5,1),bbss5,0),COLORRED,NODRAW;
STICKLINE(bbss5>REF(bbss5,1),0,bbss5,3,0 ),COLORRED;
STICKLINE(bbss5>REF(bbss5,1),0,bbss5,3,0 ),COLOR000055;
STICKLINE(bbss5>REF(bbss5,1),0,bbss5,2.6,0 ),COLOR000077;
STICKLINE(bbss5>REF(bbss5,1),0,bbss5,2.1,0 ),COLOR000099;
STICKLINE(bbss5>REF(bbss5,1),0,bbss5,1.5,0 ),COLOR0000BB;
STICKLINE(bbss5>REF(bbss5,1),0,bbss5,0.9,0 ),COLOR0000DD;
STICKLINE(bbss5>REF(bbss5,1),0,bbss5,0.3,0 ),COLOR0000FF;
指标公式:IF(bbss5<REF(bbss5,1),bbss5,0),COLORGREEN,NODRAW;
STICKLINE(bbss5<REF(bbss5,1),0,bbss5,3,0),COLORGREEN;
STICKLINE(bbss5<REF(bbss5,1),0,bbss5,3,0),COLOR005500;
STICKLINE(bbss5<REF(bbss5,1),0,bbss5,2.6,0),COLOR007700;
STICKLINE(bbss5<REF(bbss5,1),0,bbss5,2.1,0),COLOR009900;
STICKLINE(bbss5<REF(bbss5,1),0,bbss5,1.5,0),COLOR00BB00;
STICKLINE(bbss5<REF(bbss5,1),0,bbss5,0.9,0),COLOR00DD00;
STICKLINE(bbss5<REF(bbss5,1),0,bbss5,0.3,0),COLOR00FF00;
bbss12:=SMA(ABS(bbss1-H),13,1)/SMA(MAX(bbss1-H,0),10,1);
bbss13:=EMA(bbss12,10);
bbss14:=HHV(H,33);
bbss15:=EMA(IF(H>=bbss14,bbss13,0),3);
指标a:IF(bbss15>REF(bbss15,1),bbss15,0),COLORFF00FF,NODRAW;
STICKLINE(bbss15>REF(bbss15,1),0,bbss15,3,0),COLORFF00FF;
STICKLINE(bbss15>REF(bbss15,1),0,bbss15,3,0 ),COLOR550055;
STICKLINE(bbss15>REF(bbss15,1),0,bbss15,2.6,0 ),COLOR770077;
STICKLINE(bbss15>REF(bbss15,1),0,bbss15,2.1,0 ),COLOR990099;
STICKLINE(bbss15>REF(bbss15,1),0,bbss15,1.5,0 ),COLORBB00BB;
STICKLINE(bbss15>REF(bbss15,1),0,bbss15,0.9,0 ),COLORDD00DD;
STICKLINE(bbss15>REF(bbss15,1),0,bbss15,0.3,0 ),COLORFF00FF;
指标:IF(bbss15<REF(bbss15,1),bbss15,0),COLORYELLOW,NODRAW;
STICKLINE(bbss15<REF(bbss15,1),0,bbss15,3,0 ),COLORYELLOW;
STICKLINE(bbss15<REF(bbss15,1),0,bbss15,3,0),COLOR005555;
STICKLINE(bbss15<REF(bbss15,1),0,bbss15,2.6,0),COLOR007777;
STICKLINE(bbss15<REF(bbss5,1),0,bbss15,2.1,0),COLOR009999;
STICKLINE(bbss15<REF(bbss15,1),0,bbss15,1.5,0),COLOR00BBBB;
STICKLINE(bbss15<REF(bbss15,1),0,bbss15,0.9,0),COLOR00DDDD;
STICKLINE(bbss15<REF(bbss15,1),0,bbss15,0.3,0),COLOR00FFFF;
vvss2:=REF(CLOSE,2);
vvss3:=SMA(MAX(CLOSE-vvss2,0),7,1)/SMA(ABS(CLOSE-vvss2),7,1)*100;
vvss1:IF(vvss3<19,19,0)COLORWHITE;

(0)

相关推荐