飞狐涨跌MACD副图指标
源码
input:n1(12,1,100),n2(26,1,100),n3(9,1,50); aa:=c/ref(c,1); DIFF:ema(SUM(aa,n1)/n1,n1) - ema(SUM(aa,n2)/n2,n2),Color03DCED,LINETHICK1; DEA :ema(DIFF,n3),Color65CA00,LINETHICK1; macd:(diff-dea)*2,COLORSTICK;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
飞狐涨跌MACD副图指标
源码
input:n1(12,1,100),n2(26,1,100),n3(9,1,50);
aa:=c/ref(c,1);
DIFF:ema(SUM(aa,n1)/n1,n1) - ema(SUM(aa,n2)/n2,n2),Color03DCED,LINETHICK1;
DEA :ema(DIFF,n3),Color65CA00,LINETHICK1;
macd:(diff-dea)*2,COLORSTICK;