通达信不错的选股公式:启涨买入选股预警源码
{启涨买入}
A:=(2*CLOSE+HIGH+LOW)/4;
B:=EXPMA(EXPMA(EXPMA(A,4),4),4);
J:=(B-REF(B,1))/REF(B,1)*100;
D:=MA(J,3);
A1:=MA((VOL-REF(VOL,1))/REF(VOL,1),5);
B2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
P1:=B2*(1+A1);
P2:=MA(P1,5);
RSV:= (HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100;
R1:=SMA(RSV,3,1);
R2:=SMA(R1,3,1);
XG:CROSS(J,D) AND CROSS(P1,P2) AND J<0 AND P2<0 AND CROSS(R2,R1);