ISZCB:=IF(CODELIKE('300') OR CODELIKE('301'),1,0);
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
J5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416>45;
J10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416>45;
J20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416>45;
J30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416>45;
J60:=ATAN((MA60/REF(MA60,1)-1)*100)*180/3.1416>45;
XG:MA5>MA10 AND MA10>MA20 AND MA20>MA30 AND MA30>MA60 AND J5 AND J10 AND J20 AND J30 AND J60;