VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
AA:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13);
BB:=EMA(0.667*REF(AA,1)+0.333*AA,2);
XG:IF(crOSS(AA,BB) AND AA<20 ,30,0);
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
AA:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13);
BB:=EMA(0.667*REF(AA,1)+0.333*AA,2);
XG:IF(crOSS(AA,BB) AND AA<20 ,30,0);