N:=5;
HSCOL:IF((SETCODE==0||SETCODE==1),100*vol,VOL)/(FINANCE(7)/100),VOLSTICK;
MAHSL:MA(HSCOL,N),COLORRED;
DRAWTEXT(crOSS(HSCOL,MAHSL)AND V>REF(V,1)*1.6,HSCOL*1.5,'B'),COLORRED;
DRAWTEXT(CROSS(MAHSL,HSCOL)AND V<REF(V,1)*0.7,MAHSL*1.28,'S'),COLORGREEN;
STICKLINE(MA(HSCOL,1)>MA(HSCOL,120)AND C>=O,0,HSCOL,3.5,0),COLORRED;
STICKLINE(HSCOL=HHV(HSCOL,20)AND C>=O,0,HSCOL,3.5,0), COLORYELLOW;
STICKLINE(HSCOL=HHV(HSCOL,20)AND C<O,0,HSCOL,3.5,0), COLORGREEN;