VAR1:=9;
VAR2:=25;
VAR3:=6;
MASS:SUM(MA(HIGH-LOW,VAR1)/MA(MA(HIGH-LOW,VAR1),VAR1),VAR2),LINETHICK2;
VAR6:=MA(C,9);
VAR7:=crOSS(26.5,MASS) AND VAR6<REF(VAR6,1);
MAMASS:MA(MASS,VAR3),LINETHICK2;
X:26.5,COLORRED,LINETHICK2;
Y:25,COLORGREEN,LINETHICK1;
Z:27,COLORBLUE,LINETHICK1;
DRAWICON(VAR7,26.5,9);