M:=7;
adl:CALCSTOCKINDEX('999999','ADL',1);
MAADL:CALCSTOCKINDEX('999999','ADL',2);
STICKLINE(ADL>MA(ADL,7),ADL,MA(ADL,7),0,1),COLORRED;STICKLINE(ADL
M:=7;
adl:CALCSTOCKINDEX('999999','ADL',1);
MAADL:CALCSTOCKINDEX('999999','ADL',2);
STICKLINE(ADL>MA(ADL,7),ADL,MA(ADL,7),0,1),COLORRED;STICKLINE(ADL