同花顺多空判断主图指标公式
2014-6-16 14:54:50 股票入门 http://rumen.southmoney.com
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;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。