A1:=(EMA(((AMOUNT)/(vol))/(100),3)+EMA(((AMOUNT)/(VOL))/(100),6)+EMA(((AMOUNT)/(VOL))/(100),9))/(3),linethick2,Color0000FF;
a1,linethick1,Color0000FF;
A2:=(EMA(((AMOUNT)/(VOL))/(100),5)+EMA(((AMOUNT)/(VOL))/(100),10)+EMA(((AMOUNT)/(VOL))/(100),20))/(3),Color0000FF;
a2,linethick1,Color0000FF;
A3:=(EMA(((AMOUNT)/(VOL))/(100),7)+EMA(((AMOUNT)/(VOL))/(100),14)+EMA(((AMOUNT)/(VOL))/(100),28))/(3),Color0000FF;
a3,linethick1,Color0000FF;
A4:=(EMA(((AMOUNT)/(VOL))/(100),9)+EMA(((AMOUNT)/(VOL))/(100),18)+EMA(((AMOUNT)/(VOL))/(100),36))/(3),Color0000FF;
a4,linethick1,Color0000FF;
A5:=(EMA(((AMOUNT)/(VOL))/(100),11)+EMA(((AMOUNT)/(VOL))/(100),22)+EMA(((AMOUNT)/(VOL))/(100),44))/(3),Color0000FF;
a5,linethick1,Color0000FF;
A6:=(EMA(((AMOUNT)/(VOL))/(100),13)+EMA(((AMOUNT)/(VOL))/(100),26)+EMA(((AMOUNT)/(VOL))/(100),52))/(3),Color0000FF;
a6,linethick1,Color0000FF;
A:(EMA(((AMOUNT)/(VOL))/(100),21)+EMA(((AMOUNT)/(VOL))/(100),34)+EMA(((AMOUNT)/(VOL))/(100),55))/(3),linethick2,Color008000;
A7:=(A-A1+A),Color00FFFF;
a7,linethick1,Color00FFFF;
A8:=A-A2+A,Color00FFFF;
a8,linethick1,Color00FFFF;
A9:=A-A3+A,Color00FFFF;
a9,linethick1,Color00FFFF;
A10:=A-A4+A,Color00FFFF;
a10,linethick1,Color00FFFF;
A11:=A-A5+A,Color00FFFF;
a11,linethick1,Color00FFFF;
A12:=A-A6+A,Color00FFFF;
a12,linethick1,Color00FFFF;
VAR1:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR2:=MA(VAR1,5);
VAR3:=MA(VAR1,21);
VAR4:=MA(VAR1,60);
stickline(VAR1>=VAR2,o,c,5,0),ColorFF00FF;
stickline(VAR1>=VAR2,h,l,1,0),ColorFF00FF;
stickline(VAR1<VAR2,o,c,5,0),ColorFFFFFF;
stickline(VAR1<VAR2,h,l,1,0),ColorFFFFFF;
stickline(VAR1<=VAR3 AND (VAR1>OPEN),o,c,5,0),Color00FFFF;
stickline(VAR1<=VAR3 AND (VAR1>OPEN),h,l,1,0),Color00FFFF;
stickline((VAR1>=VAR4) AND (VAR1>OPEN),o,c,5,0),Colorred;
stickline((VAR1>=VAR4) AND (VAR1>OPEN),h,l,1,0),Colorred;
stickline((VAR1>=VAR4) AND (VAR1<OPEN),o,c,5,0),Color808080;
stickline((VAR1>=VAR4) AND (VAR1<OPEN),h,l,1,0),Color808080;