STICKLINE(A3 0 AND A3 =M1,0,A3,3,0),colorFFFFFF;
BV:=SUM(A3,0);
BA:=IF(MAX(BV,REF(BV,2)) REF(BV,1) OR MIN(BV,REF(BV,2)) REF(BV,1),1,0);
BC:=BARSLAST(BA)+1;
SMACD:=BV-REF(BV,BC);
VAR3:=IF(A3 0,HHV(ABS(A3),BC),LLV(A3,BC));
VAR4:=A3/20;
VAR5:=SMACD*100;