N:=200;
A1:=100/CURRBARSCOUNT+MA(C,5);
A2:=A1/5;
A3:=IF(crOSS(C,MA(C,4)) OR CROSS(C,MA(C,24)) OR CROSS(C,MA(C,60)) OR CROSS(C,MA(C,75)) OR CROSS(C,MA(C,120)) OR CROSS(C,MA(C,188)) OR CROSS(C,MA(C,240)),A1,A2);
买点:IF(CURRBARSCOUNT<30,A3-A2,A3),COLORYELLOW;
DRAWBAND(买点,180,SUM(DYNAINFO(14),0)/2,RGB(39,139,39));
STICKLINE(买点>REF(买点,1)*1.1,买点,买点*1.05,2,1),COLORRED;