根据ZLGJ思路,变换不同周期写了三个选股公式,看了一下效果还可以
A1:=(HHV(HIGH,5)-LLV(LOW,5))/EMA((CLOSE-LLV(LOW,5)),5);
A2:=(HHV(HIGH,9)-LLV(LOW,9))/EMA((CLOSE-LLV(LOW,9)),5);
A3:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
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;
XG1:CROSS(L,A1)*H AND J>REF(J,1);
XG2:CROSS(L,A2)*H AND J>REF(J,1);
XG3:CROSS(L,A3)*H AND J>REF(J,1);