LOWV:=LLV(LOW,9);HIGHV:=HHV(HIGH,9);RSV:=Ema((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);K:=ema(RSV,3);D:=MA(K,3);XG:K<10;