通达信自用做波段公式(原码 副图)
无中生有:0,COLOR00AA00;
有戏:(EMA(CLOSE,30)-EMA(CLOSE,34))/EMA(CLOSE,34)*100,COLORRED;
无戏:(EMA(C,34)-EMA(C,30))/EMA(C,30)*100,COLORCYAN;
XYZ1:(有戏-无戏),COLORMAGENTA;
XYZ2:MA(XYZ1,3),COLORYELLOW;
STICKLINE( XYZ1>XYZ2,无戏 ,有戏 ,0.8 ,0 ),COLORRED;
STICKLINE( XYZ1<XYZ2,无戏 ,有戏 ,0.8 ,0 ),COLORCYAN;