以下是顶背离(源码、副图、通达信、贴图)

顶背离(源码、副图、通达信、贴图)

LOWV:=EMA(LLV(L,34),3);
HIGHV:=EMA(HHV(H,34),3);
RSV:=EMA((C-LOWV)/(HIGHV-LOWV)*100,3);
K:=SMA(RSV,8,1);
D:=SMA(K,6,1);
J:3*K-2*D,COLORRED,LINETHICK2;
J1:MA(J,3),COLORBLUE,LINETHICK2;
IF(J<J1,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(J<J1,J1,DRAWNULL),COLORYELLOW,LINETHICK2;
A1:=BARSLAST(REF(CROSS(J,J1),1));
底背离:REF(CLOSE,A1+1)>CLOSE AND J>REF(J,A1+1) AND CROSS(J,J1) AND J<20,NODRAW;
STICKLINE(底背离,0,25,4,0),COLORFF00FF;
DRAWTEXT(底背离>0,30,’底背离’),COLORFFFFFF;
A2:=BARSLAST(REF(CROSS(J1,J),1));
顶背离:REF(CLOSE,A2+1)<CLOSE AND REF(J1,A2+1)>J1 AND CROSS(J1,J) AND J>90,NODRAW;
DRAWTEXT(顶背离>0,75,’顶背离’),COLORGREEN;
STICKLINE(顶背离,100,80,4,0),COLOR00FF00;
DRAWICON(CROSS(J,J1),J,23);
DRAWICON(CROSS(J1,J),J,35);

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