Var1:=MONEY/VOL;
A:=SMA(Var1,5,1)-SMA(Var1,55,1);
B:=SMA((A-SMA(A,5,1)),5,1);
STICKLINE(CLOSE>MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1),CLOSE,OPEN,9,1),colorred;
STICKLINE(CLOSE< MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1),CLOSE,OPEN,9,0),colorwhite;
STICKLINE(A< REF(A,3) AND B< REF(B,3),CLOSE,OPEN,9,1),colorgreen;
STICKLINE(A>REF(A,1) AND B< REF(B,1),CLOSE,OPEN,9,0),colorwhite;
STICKLINE(A< REF(A,1) AND B>REF(B,1),CLOSE,OPEN,9,0),colorwhite;