指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:指数MACD+K线公式 飞狐指数指标 源码
{指数macd+k线}
diff:ema(indexc,12)-ema(indexc,26);
dea:ema(diff,9),colorgreen;
macd:2*(diff-dea),colorstick;
s1:=macd<ref(macd,1)andmacd>0;
s2:=macd<ref(macd,1)/2andmacd<0;partline(diff>dea,diff),colorff11cc,linethick2;
partline(diff>deaanddiff<0,diff),colorred,linethick2;
drawicon(cross(diff,dea),diff-0.01,6);
drawicon(cross(dea,diff),diff,11);d1:=ema(indexc,3)-ema(indexc,15);
d2:=ema(indexo,3)-ema(indexo,15);
d3:=ema(indexh,3)-ema(indexh,15);
d4:=ema(indexl,3)-ema(indexl,15);
drawicon(cross(d1,diff)anddiff<-0.05,d4-0.1,1);
drawicon(cross(diff,d1)anddiff>0.1,d3+0.1,2);
stickline(d1>=d2,d1,d2,8,0),color0055aa;
stickline(d1<=d2,d1,d2,8,0),color006600;
stickline(d1>=d2,d1,d2,5,0),color0077cc;
stickline(d1>=d2,d1,d2,3,0),color0099dd;
stickline(d1>=d2,d3,d4,0,0),color00bbff;
stickline(d1<=d2,d1,d2,5,0),color009900;
stickline(d1<=d2,d1,d2,3,0),color00bb00;
stickline(d1<=d2,d3,d4,0,0),color00ee00;

>>>使用本站搜索工具可以找到更多“指数MACD+K线公式 飞狐指数指标 源码”