1.这是别人的原码
2.只适用已经形成上升趋势的股
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
J:=3*K-2*D,COLORFF00FF;
XG:CROSS(20,J);
REF(BARSLAST(C
MA(C,60)>REF(MA(C,60),1) AND BARSLAST(H=HHV(H,15))>3 AND
ABS((C-MA(C,30))/MA(C,30))<0.02,COLORFF00FF;