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;
T0:=CROSS(C,REF(EMA(DMA((((H+L)+(C*2))/4.15),0.9),3),1));
T1:=J>REF(J,1) AND REF(J,1)<REF(J,2);
T2:=K>REF(K,1) AND REF(K,1)<REF(K,2);
VAR1B:=(2*CLOSE+HIGH+LOW)/4;
VAR2B:=LLV(LOW,5);VAR3B:=HHV(HIGH,5);
VAR4B:=EMA((VAR1B-VAR2B)/(VAR3B-VAR2B)*100,5);
MA1:=MA(VAR4B,2);BB:=IF(VAR4B<=MA1,0,1);
RR:=IF(VAR4B<MA(CLOSE,20),0,1);
T7:=C>REF(C,1);T3:= MA1<40 AND BB<1 ;
VAR1A:=(2*CLOSE+HIGH+LOW)/4;
VAR2A:=LLV(LOW,34); VAR3A:=HHV(HIGH,34);
VAR4A:=EMA((VAR1A-VAR2A)/(VAR3A-VAR2A)*100,8);
TT:=VAR4A;T4:= TT>50;YY:=T3 AND T4;
VAR1C:=(LLV(LOW,5)*HHV(HIGH,5))/C/C;T5:=CROSS(1.1,VAR1C);
XG:(YY<1) AND (REF(YY,1)>0) AND T0 AND T1 AND T2 AND T5 ;