VAR7:=(VAR5-REF(VAR5,6))/REF(VAR5,6)*2500;
VAR8:=EMA(VAR6,3);
STICKLINE(VAR6 REF(VAR6,1) AND VAR6 0 AND VAR6 VAR8,VAR6,0,3,0),COLORWHITE;
STICKLINE(VAR8 REF(VAR8,1) AND VAR6 0 AND VAR6 VAR8,VAR8,0,3,0),COLORYELLOW;
STICKLINE(VAR6 REF(VAR6,1) AND VAR6 0 AND VAR8 0,VAR6,VAR8,3,0),COLORMAGENTA;
STICKLINE(VAR8 REF(VAR8,1) AND VAR8 0,VAR6,0,3,0),COLORRED;
STICKLINE(VAR6 REF(VAR6,1) AND VAR8 REF(VAR8,1) AND VAR6 0,VAR6,VAR8,3,0),COLORWHITE;
STICKLINE(VAR6 REF(VAR6,1) AND VAR6 VAR8,VAR6,VAR8,3,1),COLORCYAN;