公式源码:
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;
K1:=CROSS(J,K);
K2:=COUNT(K1,BARSLAST(J =20));
K1 AND J 20 AND D 20 AND K2=3 AND (ATAN((J/REF(J,1)-1)*100)*180/3.1415926)
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
ENTERLONG: J REF(J,1) AND CROSS(MACD.DIF,MACD.DEA) ;
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;
K1:=CROSS(J,K);
K2:=COUNT(K1,BARSLAST(J =20));
K1 AND (ATAN((J/REF(J,1)-1)*100)*180/3.1415926) 45 AND CROSS(MACD.DIF,MACD.DEA) ;
MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);AA:=CROSS(DIF,DEA);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;BB:=CROSS(J,K);XG:MA5 MA10 AND MA10 MA20 AND AA AND BB;
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;
选股:K D and J K and D 20 and D 80 and D REF(D,1) and K REF(K,1) and J REF(J,1) and J