以下是同花顺观黄红副图指标

同花顺观黄红副图指标

源码

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),Culor009700;
STICKLINE(macd1<mamacd1,0,macd1,4,0),Culor00BD00;
STICKLINE(MACD<0,mamacd,macd1,2,0),Culor00F000;
STICKLINE(MACD<0,mamacd,macd1,1,0),Culor53FF53;

STICKLINE(macd1>mamacd1 AND MACD>mamacd ,0,macd1,8,0),Culor5400A8;
STICKLINE(macd1>mamacd1 AND MACD>mamacd ,0,macd1,2,0),Culor7600EC;
STICKLINE(macd1>mamacd1 AND MACD>mamacd ,0,macd1,1,0),CulorAC59FF;

STICKLINE(MACD>mamacd,macd1*0.6,0,8,0),Culor00F0F0;
STICKLINE(MACD>mamacd,macd1*0.6,0,2,0),Culor44FFFF;
STICKLINE(MACD>mamacd,macd1*0.6,0,1,0),Culor8EFFFF;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。