以下是通达信绝处逢生选股源码(无源码的请下载附件导入)
{绝处逢生=追击反转ZJFZ}
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(VAR3*10,3);
VAR5:=LLV(LOW,13);
VAR6:=HHV(VAR4,13);
VAR7:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618;
VAR8:=IF(VAR7>500,500,VAR7);
TJ1:=VAR8>1 AND "KDJ.J">REF("KDJ.J",1) AND REF("KDJ.J",1)<REF("KDJ.J",2);
TJ2:=C>REF(C,1) AND C>O;
A1:=EMA(CLOSE,7);
A2:=EMA(CLOSE,21);
A3:=EMA(CLOSE,66);
TJ3:=CROSS(A1,A2) OR CROSS(A1,A3) OR CROSS(A2,A3);
TJTC:=C>7 AND DYNAINFO(4)>0 AND NOT(NAMELIKE('ST')) AND NOT(NAMELIKE('*ST'));
XG:TJ1 AND TJ2 AND TJ3 AND TJTC; |