VAR2:=SMA(VAR1,9,1);
VAR3:=SMA(VAR2,9,1);
J:3*VAR2-2*VAR3,COLORRED;
VAR4:=EMA(J,240);
MAC1:EMA(J,3),COLORGREEN;
MAC3:EMA(J,20),COLORMAGENTA,LINETHICK2;
MAC4:EMA(J,60),COLORBLUE,LINETHICK2;
MACA:IF(J <=10,50,0),COLORFFCC00;
MACB:IF(J <=HIGH+LOW+CLOSE,1,8)*10,DOTLINE,COLOR999999;
;