一个MACD在0轴上二次即将金叉的选股公式
N自己调节一下 N越大出票越多
N:=0.005;
T:=BARSLAST(CROSS(MACD.DIF,0));
TJ1:=CROSS(MACD.DEA,MACD.DIF);
TJ2:=CROSS(MACD.DIF,MACD.DEA);
TJ:=COUNT(TJ1,T)=1 AND COUNT(TJ2,T)=0;
TJ3:=MACD.DIF>0 AND MACD.DEA>0;
TJ4:=MACD.DIF>REF(MACD.DIF,1);
TJ5:=MACD.DEA-MACD.DIF<=N;
XG:TJ AND TJ3 AND TJ4 AND TJ5;
653388705.jpg
653544673.jpg
|