以下是同花顺观黄红副图指标
同花顺观黄红副图指标
源码
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;
评论(0)