大盘不好,小新做了个抄底选股公式,与大家分享,希望大家提提意见,谢谢!
思路:1).MACD的DIF在0轴附近刚刚开始拐头向上;
2).KDJ的K值在前期低点也拐头向上;
3).CCI上穿-150或上穿-100或上穿0或上穿100;
4).今日成交量突然放大,是前5日均量是2倍以上。
如图:
帮小新把源码移上来
DIFF:=EMA(CLOSE,7) - EMA(CLOSE,19);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
TJ1:=DIFF =REF(DIFF,1)AND REF(DIFF,1) =REF(DEA,1) AND DIFF 0.5 AND KDJ.K(9,3,3) REF(KDJ.K(9,3,3),1);
TJ2:=VOL/MA(VOL,5)
TJ3:=CROSS(CCI(14),-150) OR CROSS(CCI(14),-100) OR CROSS(CCI(14),0) OR CROSS(CCI(14),100);
XG:TJ1 AND TJ2 AND TJ3 ;