MA20:=MA(C,20);
MA40:=MA(C,40);
MA60:=MA(C,60);
DAY1:=BArslAST(crOSS(MA20,MA40));
DAY2:=BARSLAST(CROSS(MA20,MA60));
TJ5:=DAY1>=DAY2 AND DAY2=0 AND MA40
MA20:=MA(C,20);
MA40:=MA(C,40);
MA60:=MA(C,60);
DAY1:=BArslAST(crOSS(MA20,MA40));
DAY2:=BARSLAST(CROSS(MA20,MA60));
TJ5:=DAY1>=DAY2 AND DAY2=0 AND MA40