boll:=MA(CLOSE,25);
上:BOLL + 2*STD(CLOSE,25),crOSSDOT,coloryellow;
下:BOLL-2*STD(CLOSE,25),CROSSDOT,colorgreen;
diff50:=EMA(CLOSE,11)-EMA(CLOSE,23);
dea50:=EMA(diff50,9);
macd:=(diff50-dea50)*2;
涨:=IF(1.5*(diff50-dea50)>REF(1.5*(diff50-dea50),1),MacD,0);
跌:=IF(1.5*(diff50-dea50)<REF(1.5*(diff50-dea50),1),
MACD,0);
缩头:=IF(1.5*(diff50-dea50)>0 AND
REF(1.5*(diff50-dea50),1)>REF(1.5*(diff50-dea50),2) AND 1.5*(diff50-dea50)<
REF(1.5*(diff50-dea50),1),1,0);
缩脚:=IF(1.5*(diff50-dea50)<0 AND REF(1.5*(diff50-dea50),1)<
REF(1.5*(diff50-dea50),2) AND 1.5*(diff50-dea50)>REF(1.5*(diff50-dea50),1),1,0);
杀多:=IF(1.5*(diff50-dea50)<0 AND REF(1.5*(diff50-dea50),1)>
REF(1.5*(diff50-dea50),2) AND 1.5*(diff50-dea50)<REF(1.5*(diff50-dea50),1),1,0);
诱空:=IF(1.5*(diff50-dea50)>0 AND REF(1.5*(diff50-dea50),1)<
REF(1.5*(diff50-dea50),2) AND 1.5*(diff50-dea50)>REF(1.5*(diff50-dea50),1),1,0);
阻力:=IF(CROSS(C,MA(C,20)) OR CROSS(C,MA(C,60)),1,0);
DRAWTEXT(杀多,H*1.005,’逃’),colorff00ff;
DRAWTEXT( 缩头,H*1.005,’卖’),coloryellow;
DRAWTEXT(诱空,L,’洗’),colorred;
DRAWTEXT( 缩脚,L,’买’),colorff00ff;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)