VAR1:=IF(FROMOPEN<=60,VOL/1.7,IF(FROMOPEN<=120 AND FROMOPEN>=60,VOL/1.3,IF(FROMOPEN<=180 AND FROMOPEN>=120,VOL*1.3,IF(FROMOPEN<=225 AND FROMOPEN>=180,VOL*1.1,VOL))));
VAR2:=IF(ISLASTBAR AND PERIOD=5,VAR1*240/FROMOPEN,VOL);
VAR3:=MA(VAR2,5);
VAR4:=MA(VAR2,10);
VAR5:=MA(VAR2,100);
VAR6:=MA(CLOSE,5);
VAR7:=MA(CLOSE,10);
VAR8:=MA(CLOSE,20);
VAR9:=MA(CLOSE,55);
VAR10:=CLOSE/REF(CLOSE,1)>=1.095 AND CLOSE=HIGH;
VAR11:=VAR3>VAR5*1.9;
VAR12:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR13:=EMA(VAR12,9);
VAR14:=BARSLAST(CROSS(VAR13,0));
VAR15:=CROSS(VAR12,VAR13) AND COUNT(CROSS(VAR12,VAR13),VAR14+1)=2 AND VAR13>0;
VAR16:=COUNT(CROSS(VAR12,VAR13),BARSLAST(VAR13>=0));
VAR17:=CROSS(VAR12,VAR13) AND VAR13<0 AND COUNT(VAR16=2,55)=1;
VAR18:=BARSLAST(REF(CROSS(VAR12,VAR13),1));
VAR19:=CLOSE<REF(CLOSE,VAR18+1) AND VAR12>REF(VAR12,VAR18+1) AND CROSS(VAR12,VAR13);
VAR20:=BARSLAST(REF(CROSS(VAR13,VAR12),1));
VAR21:=CLOSE>REF(CLOSE,VAR20+1) AND VAR12<REF(VAR12,VAR20+1) AND CROSS(VAR13,VAR12);
VAR22:=VAR17 OR VAR19 AND COUNT(VAR11,5) AND DYNAINFO(4)>0;
VAR23:=VAR15 AND COUNT(VAR11,5) AND DYNAINFO(4)>0;
VAR22 OR VAR23;