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;
TYP:=(HIGH+LOW+CLOSE)/3;
开花抓牛:REF(J,1)<-3 AND J>REF(J,1) AND EVERY(MA(C,5)>MA(C,20),20);