底部吸筹:(EMA(CLOSE,30)-EMA(CLOSE,90))*0.55;
VAR1:(EMA(底部吸筹,26));
macd周:=(底部吸筹-VAR1)*2, COLORSTICK;
DRAWBAND(VAR1,RGB(135,255,35),底部吸筹,RGB(240,160,0));
DRAWTEXT(CURRBARSCOUNT=1,底部吸筹,''),COLORRED;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
DRAWBAND(DIFF,RGB(255,80,120),DEA,RGB(21,138,255));
DRAWTEXT(CURRBARSCOUNT=1,DIFF,''),COLOR00FFFF;
XA_1:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
XA_2:=EMA(XA_1,9/2);
DRAWBAND(XA_1,RGB(120,20,255),XA_2,RGB(80,255,20));
DRAWTEXT(CURRBARSCOUNT=1,XA_1,''),COLORFF00FF;
XA_3:=(EMA(CLOSE,12/4)-EMA(CLOSE,26/4)),COLORGREEN,LINETHICK2;
XA_6:=(EMA(XA_3,9/4)),COLORMAGENTA,LINETHICK2;
DRAWBAND(XA_3,RGB(220,50,50),XA_6,RGB(50,120,50));
DRAWTEXT(CURRBARSCOUNT=1,XA_3,''),COLORGREEN;
0,COLORWHITE,DOTLINE;
MACD:(DIFF-DEA)*2,COLORSTICK;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1,1),COLORRED,;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,1,1),COLOR4080FF,;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1,1),COLORYELLOW,;
STICKLINE(MACD<REF(MACD,1) AND MACD<0,0,MACD,1,1),COLORLIGREEN;