VAR1:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;
VAR2:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR3:=SMA(VAR2,13,8);
VAR4:=SMA(VAR1,21,8);
x:=CEILING(SMA(VAR3,13,8));
底:IF((x-VAR4<(-65)),1,6),COLOR00FF00;
顶:IF((x-VAR4>85),95,100),COLORF0F000;
RSV:= (CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
FASTK:=SMA(RSV,7,1);
K:SMA(FASTK,7,1);
D:SMA(K,9,1),COLORFFFFFF;
stickline(k>D,k,d,6,0),colorred;
stickline(k<D,k,d,2,0),colorwhite;
强弱分界线: 50,pointdot, COLORf00ff0;
Var1x:=IF(MONTH<12,1,1);
Var3x:=(2*CLOSE+HIGH+LOW)/4;
Var4x:=LLV(LOW,34);
Var5x:=HHV(HIGH,34);
主力进退线:EMA((Var3x-Var4x)/(Var5x-Var4x)*100,13)*Var1x,linethick2,colorred;
DRAWTEXT(cross(主力进退线,D),D,’B’),COLORred;
DRAWTEXT(cross(D,主力进退线),D,’s’),COLORyellow;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。