C1 : (EMA(((VAR1 - VAR2) / (VAR3 - VAR2)) * 100,4)) * VAR0;
VAR4 := (EMA((0.667 * REF(C1,1)) + (0.333 * C1),2)) * VAR0;
VAR5 := IF(CROSS(VAR4,C1),VAR4,DRAWNULL);
VAR6 := IF(CROSS(VAR4,C1),VAR4,DRAWNULL);
DRAWICON(CROSS(C1,VAR4),35,28);
DRAWTEXT(CROSS(VAR4,C1),C1,33),COLORC6C600;
VAR7 := IF(CROSS(C1,VAR4),C1,DRAWNULL);
VAR8 := IF(CROSS(C1,VAR4),C1,DRAWNULL);
DRAWICON(CROSS(C1,VAR4) AND (VAR4 0),55,29);
DRAWICON(CROSS(VAR4,C1) AND (VAR4 -100),C1,10);
DRAWICON(CROSS(C1,VAR4) AND (VAR4 0),VAR4,34);
DRAWICON(CROSS(VAR4,C1) AND (VAR4 -100),C1,10);
VAR9 := CROSS(C1,VAR4) AND (C1 40);
VAR10 := CROSS(VAR4,C1) AND (C1 90);
VAR11 := CROSS(C1,VAR4);
VAR12 := CROSS(VAR4,C1);
VAR13 := CROSS(C1,VAR4) AND (REF(C1,1) 20);
VAR14 := CROSS(VAR4,C1) AND (REF(C1,1) 80);
DRAWICON(VAR9,20,9);
DRAWTEXT(VAR10,96,34),COLORYELLOW;