以下是通达信角度选股公式源码无未来(无源码的请下载附件导入)
MA5:=MA(C,5); MA10:=MA(C,10); MA20:=MA(C,20);
JJ:="KDJ.J"; DD:="KDJ.D"; ZF:=(C-O)/O*100>4;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
BIAS20:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100*VOL;
BIAS21:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100*C;
A:=BARSLAST(BARSLAST(BIAS20>0 AND REF(BIAS20,1)>0)>0);
B:=BARSLAST(BARSLAST(BIAS21>0 AND REF(BIAS21,1)<0)>0);
A1:=CROSS(JJ,DD) OR JJ>DD;
角度:=ATAN((MA5/REF(MA5,1)-1)*100)*57.2956>40 AND ATAN((JJ/REF(JJ,1)-1)*100)*57.2956>50;
XG:A=0 AND ZF AND CROSS(C,MA5) AND CROSS(C,MA10) AND CROSS(C,MA20) AND A1 AND 角度 AND CROSS(DIF,DEA);
731211159.jpg
|