INPUT:N1(5,2,100),N2(26,2,100),N3(45,2,100),N4(7,2,100); DIF1:=EMA(CLOSE,N1)-EMA(CLOSE,N2); DEA1:=EMA(DIF1,N3); DIF2:=EMA(CLOSE,N4)-EMA(CLOSE,N3); DEA2:=EMA(DIF2,N4); 只做波段:2*(DIF1-DEA1),COLOR0088F5,LINETHICK2; MMA:=MA(只做波段,N1); 见好就收:0,COLOR00EBEB; STICKLINE(只做波段>0,只做波段,0,5,1),COLORWHITE; STICKLINE(只做波段<0,只做波段,0,5,1),COLORWHITE; STICKLINE(只做波段<0 AND 只做波段 STICKLINE(只做波段>MMA AND 只做波段>0,只做波段,MMA,6,0),COLORRED; STICKLINE(DEA2>=0,DEA2,0,3,1),COLOR33AA33; STICKLINE(DEA2<0,DEA2,0,4,0),COLORF560F5; STICKLINE(DIF2<0,DIF2,0,3,1),COLOR33AA33; STICKLINE(DIF2>=0,DIF2,0,4,0),COLORF560F5; 波段是金:只做波段,STICK,COLORF560F5; |