通达信操盘六线主图源码贴图
M12:=ema(c+SLOPE(c,11),11);
M26:=ema(c+SLOPE(c,24),24);
DIF:EMA(M12+SLOPE(M12,13),13)+EMA((M12-M26)+SLOPE((M12-M26),13),13),COLORYELLOW,COLORWHITE;
DEA:EMA(DIF+SLOPE(DIF,13),13),DOTLINE;
M60:=ema(c+SLOPE(c,62),62);
DDA:EMA(M12+SLOPE(M12,51),51)+EMA((M12-M60)+SLOPE((M12-M60),51),51),COLOR7F00FF;
DDE:EMA(DDA+SLOPE(DDA,51),51),COLOR7F00FF,DOTLINE;
DDF:EMA(M12+SLOPE(M12,51),51)-EMA((M12-M60)+SLOPE((M12-M60),51),51),COLOR00bb00,DOTLINE;
BBD:M60+MA((M12-REF(M12,1)+DIF-REF(DIF,1)+M26-REF(M26,1)+DEA-REF(DEA,1)+DDA-REF(DDA,1)+M60-REF(M60,1)+DDE-REF(DDE,1)+DDF-REF(DDF,1))/8,62),COLOR00bb00;
来函数检测结果如下:
该公式没有未来函数
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
M12赋值:EMA(C+SLOPE(C,11),11)
M26赋值:EMA(C+SLOPE(C,24),24)
输出
DIF:EMA(M12+SLOPE(M12,13),13)+EMA((M12-M26)+SLOPE((M12-M26),13),13),画黄色,画白色
输出
DEA:EMA(DIF+SLOPE(DIF,13),13),DOTLINE
M60赋值:EMA(C+SLOPE(C,62),62)
输出
DDA:EMA(M12+SLOPE(M12,51),51)+EMA((M12-M60)+SLOPE((M12-M60),51),51),COLOR7F00FF
输出
DDE:EMA(DDA+SLOPE(DDA,51),51),COLOR7F00FF,DOTLINE
输出
DDF:EMA(M12+SLOPE(M12,51),51)-EMA((M12-M60)+SLOPE((M12-M60),51),51),COLOR00BB00,DOTLINE
输出
BBD:M60+MA((M12-1日前的M12+DIF-1日前的DIF+M26-1日前的M26+DEA-1日前的DEA+DDA-1日前的DDA+M60-1日前的M60+DDE-1日前的DDE+DDF-1日前的DDF)/8,62),COLOR00BB00