大智慧耶稣双MACD副图源码
-
相关简介:DIFF: EMA(CLOSE,24) - EMA(CLOSE,60),colorwhite; DEA: EMA(DIFF,12),coloryellow; MACD2:=2*(DIFF-DEA),colorff00ff ; DIFF1: EMA(CLOSE,10) - EMA(CLOSE,22),color00ff00; DEA1: EMA(DIFF1,9),colorred; MACD1:= 2*(DIFF1-DEA1),colorfccccc; macd:(macd2+macd1)/2,C
-
文章来源:股海网作者:股海网发布时间:2016-06-09浏览次数:
DIFF: EMA(CLOSE,24) - EMA(CLOSE,60),colorwhite;
DEA: EMA(DIFF,12),coloryellow;
MACD2:=2*(DIFF-DEA),colorff00ff ;
DIFF1: EMA(CLOSE,10) - EMA(CLOSE,22),color00ff00;
DEA1: EMA(DIFF1,9),colorred;
MACD1:= 2*(DIFF1-DEA1),colorfccccc;
macd:(macd2+macd1)/2,COLORSTICK,linethick1;
stickline(DIFF-DEA>0,DIFF,DEA,4,0),color1234ff;
stickline(DIFF-DEA<0,DIFF,DEA,4,0),colorff4321;
stickline(DIFF1-DEA1>0,DIFF1,DEA1,4,0),colorccffff;
stickline(DIFF1-DEA1<0,DIFF1,DEA1,4,0),color65ff21;
stickline(macd>ref(macd,1) and (diff1+diff)/2>(dea1+dea)/2,macd,0,5,0),COLORff00ff;
stickline(macd>ref(macd,1) and (diff1+diff)/2>(dea1+dea)/2,macd,0,1,0),coloryellow;