看长做短,注意长期均线走好,个股波段参考
V1:=(C+H+L)/3;
MA3:=MA(V1,2);
MA5:=MA(V1,5);
N1:=BARSLAST(CROSS(MA3,MA5));
N2:=BARSLAST(CROSS(MA5,MA3));
N:=IF(N1<N2,N1+1,0-N2-1);
STICKLINE(N>0,0,0+N,2,0),COLOR0000FF;
STICKLINE(N<0,0,0+N,2,0),COLORFFFF00;