IF(AMA2/REF(AMA2,1) 0.9975,AMA2,DRAWNULL),COLOR33CC33,LINETHICK2;
IF(AMA2/REF(AMA2,1) 1.001,AMA2,DRAWNULL),COLOR3300FF,LINETHICK2;
VA:FORCAST(CLOSE,13),COLORBLUE,LINETHICK2;
VAR1:=REF(VA,1);
A:=VA VAR1 AND REF(VA,1) REF(VAR1,1);
IF(VA VAR1,VA,DRAWNULL),COLORRED,LINETHICK2;
IF(VA VAR1,VA,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWICON(CROSS(VA,AMA2) AND AMA2/REF(AMA2,1) 1.001,AMA2*0.98,5);
CG:MA(C,17),COLORFFCC66;
FL:HHV(CG,2);
FS:IF(CG FL,(CG-(FL-CG)),FL);
IF(FL=FS,FS,DRAWNULL),COLOR3300FF,LINETHICK2;
IF(FL FS,FS,DRAWNULL),COLOR33CC33,LINETHICK2;
IF(FL FS,FS,DRAWNULL),COLOR33CC33,LINETHICK2;