N:=120;M:=5;P:=0;
AL:=(C+L+H+O)/4;
A1:=(EMA(AL,1)-LLV(AL,N))/LLV(AL,N);
A2:=(EMA(A1,1)-LLV(A1,N))/LLV(AL,N);
A3:=(EMA(A2,1)-LLV(A2,N))/LLV(AL,N);
A4:=(EMA(A3,1)-LLV(A3,N))/LLV(AL,N);
M5:SUM(A4,M)*10000,COLORWHITE,LINETHICK2;
M10:=MA(M5,5);
M20:=MA(M10,5);
H1:=LLV(M5,20);
H2:=LLV(H1,20);
H3:=LLV(H2,20);
H4:=LLV(H3,20);
DRAWBAND(M5,125,H1,RGB(105,105,105));
STICKLINE(1,H1,H2,0,0),COLORBROWN;
STICKLINE(1,H2,H3,0,0),COLORGREEN;
STICKLINE(1,H3,H4,0,0),COLORCYAN;
STICKLINE(1,H4,P,0,0),COLORBLUE;
HH0:M10,COLORYELLOW;
HH1:H1,COLORWHITE,LINETHICK2;
HH2:H2,COLORMAGENTA,LINETHICK2;
HH3:H3,COLORWHITE,LINETHICK2;
HH4:H4,COLORWHITE,LINETHICK2;