同花顺观黄红副图指标
源码
DRAWGBK(DATE>900103,STRIP(RGB(100,180,255),RGB(120,120,255),1));
DIFF1:=EMA(CLOSE,16) - EMA(CLOSE,58),colorwhite;
DEA1:=EMA(DIFF1,88),coloryellow;
MACD1:2*(DIFF1-DEA1)*100 ;
mamacd1:MA(macd1,4),colorwhite;
dwx:=LLV(macd1,18);
gwx:=HHV(mamacd1,18),colorred;
DIFF:=EMA(CLOSE,6) - EMA(CLOSE,22),colorwhite;
DEA:=EMA(DIFF,44),coloryellow;
MACD:=2*(DIFF-DEA)*100 ;
mamacd:=MA(MACD,4),colorff99ff,linethick2;
STICKLINE(macd1<mamacd1,0,macd1,8,0),Color009700;
STICKLINE(macd1<mamacd1,0,macd1,4,0),Color00BD00;
STICKLINE(MACD<0,mamacd,macd1,2,0),Color00F000;
STICKLINE(MACD<0,mamacd,macd1,1,0),Color53FF53;
STICKLINE(macd1>mamacd1 AND MACD>mamacd ,0,macd1,8,0),Color5400A8;
STICKLINE(macd1>mamacd1 AND MACD>mamacd ,0,macd1,2,0),Color7600EC;
STICKLINE(macd1>mamacd1 AND MACD>mamacd ,0,macd1,1,0),ColorAC59FF;
STICKLINE(MACD>mamacd,macd1*0.6,0,8,0),Color00F0F0;
STICKLINE(MACD>mamacd,macd1*0.6,0,2,0),Color44FFFF;
STICKLINE(MACD>mamacd,macd1*0.6,0,1,0),Color8EFFFF;