M5:=120;
MA5:=MA(CLOSE,M5);
MA20:=MA(C,20);
MA90:=MA(C,90);
Y1:=BArslAST(crOSS(MA5,MA20)) AND MA5>MA20;
Y2:=Y1 AND BARSLAST(CROSS(MA5,MA90));
黑马:Y2 AND CROSS(MA20,MA90);
M5:=120;
MA5:=MA(CLOSE,M5);
MA20:=MA(C,20);
MA90:=MA(C,90);
Y1:=BArslAST(crOSS(MA5,MA20)) AND MA5>MA20;
Y2:=Y1 AND BARSLAST(CROSS(MA5,MA90));
黑马:Y2 AND CROSS(MA20,MA90);