VAR01:=Ema((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5); VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5); XG:20*(REF(crOSS(VAR01,VAR02),1) AND VAR01>VAR02 AND VAR02<REF(VAR02,1));