九毛八公式指标
请老师帮把下面公式中有买和洗字各写个选股公式,谢谢了。 公式是网上收的,谢谢公式的原作者。 公式名称:洗盘短买 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)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)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;
公式模块:
洗信号条件选股
DIFF50:=EMA(CLOSE,11)-EMA(CLOSE,23); DEA50:=EMA(DIFF50,9); macd:=(DIFF50-DEA50)*2; 诱空:=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); 选股:(诱空); 买洗信号条件选股 DIFF50:=EMA(CLOSE,11)-EMA(CLOSE,23); DEA50:=EMA(DIFF50,9); MacD:=(DIFF50-DEA50)*2; 缩脚:=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); 选股