春夏秋冬公式如下:
主线=EMA(HHV(主线,5),1),COLOR00FFFF,LINETHICK2;
急=EMA(HHV(急,21),2),COLORDB89FF,COLOR00FF00,LINETHICK2;
投=EMA(HHV(投,21),4),COLORFFCC62,LINETHICK1;
集=EMA(HHV(集,21),6),COLORFF5B5E,LINETHICK2;
OX=主线/马*100-100;
春=XG>0 AND XG>REF(XG,1);
秋=XG<0 AND XG<REF(XG,1);
春天1=IF(夏=1,XG,MA(XG,10)),COLORRED,LINETHICK2;
秋天1=IF(冬=1,XG,MA(XG,10)),COLORCYAN,DOTLINE;
STICKLINE(春天1>MA(XG,10),春天1,MA(XG,10),2,0),COLORFF00FF;
STICKLINE(夏天1>MA(XG,10),夏天1,MA(XG,10),2,0),COLORRED;
STICKLINE(秋天1<MA(XG,10),秋天1,MA(XG,10),2,0),COLORBROWN;
STICKLINE(冬天1<MA(XG,10),冬天1,MA(XG,10),2,0),COLORCYAN;
春天IF(夏=1,C,MA(XG,10)),COLORRED,LINETHICK1;
秋天IF(冬=1,-20,MA(XG,10)),COLORCYAN,DOTLINE;