RSV2:=(CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100;
K2:=SMA(RSV2,2,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
wr1:=-120*(HHV(HIGH,2)-CLOSE)/(HHV(HIGH,2)-LLV(LOW,2)),COLORGREEN;
S:=WR1>REF(WR1,1) AND CLOSE<REF(CLOSE,1);
S1:=WR1<REF(WR1,1) AND CLOSE>REF(CLOSE,1);
S2:=J2<D2;
S3:=S OR S1;
S4:=S3 AND S2;
IF(EVERY(S4,3),10,0);