N:=120;M:=5;
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;
DRAWBAND(M5,90,CONST(LLV(M5,20)),RGB(34,139,34));
M10:MA(M5,5);
M20:MA(M10,5);
STICKLINE(1,M5,M20,0,0),COLORBROWN;
STICKLINE(C>REF(C,1),M5,REF(M5,1),2,1),COLORRED;
STICKLINE(C<=REF(C,1),M5,REF(M5,1),2,0),COLORCYAN;