以下是通达信金鸡报晓选股指标公式源码(无源码的请下载附件导入)
Q1:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q2:=SMA(Q1, 9, 1);
Q3:=SMA(Q2, 3, 1);
AA:=3*Q2-2*Q3;
VAR1:=(2*C+H+L)/4;
VAR2:=LLV(LOW,34);
VARA:=HHV(HIGH,34);
BB:=EMA((VAR1-VAR2)/(VARA-VAR2)*100,8);
选股:CROSS(AA,BB) AND AA>REF(AA,1) AND BB>REF(BB,1) AND AA<20; |