以下是通达信双剑合璧选股公式(无源码的请下载附件导入)
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K0:=SMA(RSV,3,1);
K:=K0;D:=SMA(K0,2,1);
J1:=(3*K0-2*D);J2:=MA(J1,2);
MAV:=(2*C+H+L)/4;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
SK:=EMA((MAV-VAR1)/(VAR2-VAR1)*100,8);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,1);
SJ:=3*SK-2*SD;
VAR11:=(2*CLOSE+HIGH+LOW)/4;
VAR22:=EMA(EMA(EMA(VAR11,4),4),4);
J8:= (VAR22-REF(VAR22,1))/REF(VAR22,1)*100;
D8:= MA(J8,3);
K8:= MA(J8,1);
TT2:=CROSS(K8,D8) ;
现手:=DYNAINFO(9);
TT1:CROSS(J1,J2) AND 现手 AND TT2;
65177673.png
651166153.jpg
|