同花顺MACD_KDJ公式
-
相关简介:同花顺MACD_KDJ公式 MA13:=EMA(CLOSE,13); MA34:=EMA(CLOSE,34); DIFF:= MA13-MA34; DEA:=EMA(DIFF,13); MACD:=2*(DIFF-DEA/2); AH:=HHV(MACD,13*1); AL:=LLV(MACD,13*0.3); STICKLINE(MACD0 ,MACD,0,1,0),COLOR0000AA,LINETHICK1; STICKLINE(MACD0 ,MACD,0,1,0),COLOR008800
-
文章来源:股海网作者:股海网发布时间:2015-06-24浏览次数:
同花顺MACD_KDJ公式
MA13:=EMA(CLOSE,13);
MA34:=EMA(CLOSE,34);
DIFF:= MA13-MA34;
DEA:=EMA(DIFF,13);
MACD:=2*(DIFF-DEA/2);
AH:=HHV(MACD,13*1);
AL:=LLV(MACD,13*0.3);
STICKLINE(MACD>0 ,MACD,0,1,0),COLOR0000AA,LINETHICK1;
STICKLINE(MACD<0 ,MACD,0,1,0),COLOR008800,LINETHICK1;
趋势线:=EMA(MACD,34,1);
PARTLINE(趋势线,趋势线>REF(趋势线,1),RGB(255,255,0),趋势线<REF(趋势线,1),RGB(0,80,255)),LINETHICK1;
FILLRGN(趋势线,REF(趋势线,1),趋势线>REF(趋势线,1),RGB(255,255,0),趋势线<=REF(趋势线,1),RGB(0,88,255));
K:=SMA(MACD,2,1);
D:=SMA(K,2,1);
J:SMA(D,2,1);