VOLUME:=VOL,VOLSTICK;
MAVOL5:MA(VOLUME,N1),colorwhite;
MAVOL20:MA(VOLUME,N2),coloryellow;
MAVOL$3:MA(VOLUME,N3),colorgreen;
STICKLINE(CLOSE>REF(CLOSE,1),0,MONEY,9,1),colorred;
STICKLINE(CLOSE>REF(CLOSE,1) AND CLOSE<OPEN,0,MONEY*0.33,9,0),colorgreen;
STICKLINE(CLOSE<REF(CLOSE,1),0,MONEY,9,0),colorgreen;
STICKLINE(CLOSE<REF(CLOSE,1) AND CLOSE>OPEN,0,MONEY*0.33,9,1),colorred;
STICKLINE(CLOSE=REF(CLOSE,1),0,MONEY,9,0),colorblue;
K:= CLOSE>REF(CLOSE,1) AND CLOSE>=OPEN;
KK:=CLOSE<=REF(CLOSE,1) AND CLOSE>OPEN;
STICKLINE(COUNT(K OR KK,5)=5,0,MONEY,4,0),colormagenta;
STICKLINE(COUNT(K OR KK,9)=9,0,MONEY,4,0),colorred;
STICKLINE(MONEY>=REF(MONEY,1)*2 AND CLOSE>REF(CLOSE,1),0,MONEY,4,0),coloryellow;
STICKLINE(MONEY>=REF(MONEY,1)*5 AND CLOSE>REF(CLOSE,1),0,MONEY,9,0),coloryellow;
STICKLINE(MONEY<=REF(MONEY,1)*0.5 AND CLOSE<REF(CLOSE,1),0,MONEY,4,0),coloryellow;