MA1:=MA(CLOSE,20);
MA2:=MA(CLOSE,120);
MA3:=MA(CLOSE,250);
VAR1:=MA(V,5)>MA(V,60);
XG1:crOSS(MA1,MA2);
叉半年线:CROSS(MA1,MA2) AND VAR1;
叉年线:CROSS(MA1,MA3) AND VAR1
MA1:=MA(CLOSE,20);
MA2:=MA(CLOSE,120);
MA3:=MA(CLOSE,250);
VAR1:=MA(V,5)>MA(V,60);
XG1:crOSS(MA1,MA2);
叉半年线:CROSS(MA1,MA2) AND VAR1;
叉年线:CROSS(MA1,MA3) AND VAR1