DIFF :=( EMA(CLOSE,12) – EMA(CLOSE,26))*100;
DEA :=EMA(DIFF,9);
macd :=2*(DIFF-DEA);
绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,2,0),COLOR00FF00;
红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,2,0),COLORRED;
STICKLINE(DEA>=0,0,DEA,2,0),COLORBLUE;
STICKLINE(DEA<0,0,DEA,2,0),COLORYELLOW;
DRAWICON(crOSS(DIFF,DEA),DEA*1.1,1);
DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);
强1:IF(DIFF>DEA,DIFF,DRAWNULL),COLORRED;
强2:IF(DEA<DIFF,DEA,DRAWNULL),COLORMAGENTA;
抄底:=Abs((CROSS(“MacD.DIF”,”MACD.DEA”)
&&”MACD.DEA”<=-0.07)*”MACD.DIF”)*1.09,COLORLIMAGENTA,LINETHICK2;
DRAWTEXT(ABS(抄底)>0,抄底,’ 抄底’),COLORFFFF00;
DRAWICON(ABS(抄底)>0,抄底,9);
X_1:=CLOSE-REF(CLOSE,1);
X_2:=OPEN-REF(OPEN,2);
X_3:=HIGH-REF(HIGH,1);
X_4:=LOW-REF(LOW,1);
X_5:=(X_1+X_2+X_3+X_4)/4;
X_6:=(MA(X_5*vol,10)+EMA(X_5*VOL,16))/3000;
X_7:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*WINNER(CLOSE*1.2)*10;
X_8:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*WINNER(CLOSE*0.9)*10;
STICKLINE(X_6>0,X_6*X_7,0,2,0),COLORRED;
STICKLINE(X_6*X_7<0,X_6*X_7,0,2,0),COLORGREEN;
STICKLINE(X_6<0,(-X_6)*X_7,0,2,0),COLORGREEN;
STICKLINE(X_6>0,X_6*X_8,0,1,0),COLORYELLOW;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)