以下是通达信超级多头选股公式源码(无源码的请下载附件导入)
M1:=MA(CLOSE,5);
M2:=MA(CLOSE,10);
A1:=CROSS(M1,M2);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
A2:=CROSS(K,D) AND K<50;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
A3:=CROSS(DIF,DEA);
XG:EXIST(A1 ,5) AND EXIST(A2 ,5) AND EXIST(A3 ,5);
623399885.png
|