ZT:=(C/REF(C,1)>1.095 OR C/REF(C,1)>2.095) AND C=H;
DIFF:EMA(CLOSE,12) – EMA(CLOSE,25);
DEA:EMA(DIFF,9);
macd:2*(DIFF-DEA), COLORSTICK;
J1:=0.7*(26-12)/2*EMA((C-REF(C,1)),12);
J2:EMA(EMA(J1,3),3);
J3:EMA(J1,3);
A2:=BArslAST(REF(crOSS(J2,J3),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(J2,A2+1)>J3 AND CROSS(J2,J3) AND COUNT(ZT,30)>1;
DRAWTEXT(顶背离,DIFF,’ 顶背游’),COLORGREEN;
A3:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离J:=REF(CLOSE,A3+1)<CLOSE AND REF(DIFF,A3+1)>DIFF AND CROSS(DEA,DIFF) AND COUNT(ZT,30)>1 ;
DRAWTEXT(顶背离J,DIFF,’ 顶背金’),COLORGREEN;
MD:=MacD>0;
UP5:=UPNDAY(MACD,4) AND COUNT(MD,4)=4;
TD:=COUNT(REF(UP5,1),2) AND CROSS(J2,J3) AND COUNT(MACD<REF(MACD,1),2) AND COUNT(ZT,30)>1;
DRAWTEXT(TD,J2,’减仓’),COLORGREEN;


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