同花顺真MA副图指标

 

源码

SHORT:=5;
LONG:=34;
M:=5;
DIFF:EMA(C,SHORT)-EMA(C,LONG);
DEA :EMA(DIFF,M),coloryellow;
MACD: 2*(DIFF-DEA),ColorFF26FF;
FILLRGN(DIFF,DEA,DIFF>DEA,RGB(250,10,250),DIFF<DEA,RGB(10,250,10));
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,8,0 ),COLOR00AAFF,LAYER7;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,6.6,0 ),COLOR00BBFF,LAYER7;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,4.4,0 ),COLOR00CCFF,LAYER7;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,3.3,0 ),COLOR00DDFF,LAYER7;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2.2,0 ),COLOR00EEFF,LAYER7;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1.1,0 ),COLOR00FFFF,LAYER7;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,8,0 ),COLOR0000AA,LAYER7;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,6.6 ,0 ),COLOR0011BB,LAYER7;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,4.4,0 ),COLOr0022CC,LAYER7;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,3.3 ,0 ),COLOR0033DD,LAYER7;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2.2 ,0 ),COLOR0044EE,LAYER7;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.1 ,0 ),COLOR0055FF,LAYER7;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,8,0 ),COLORAA00BB,LAYER7;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,6.6 ,0 ),COLORBB11BB,LAYER7;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,4.4,0 ),COLORCC22BB,LAYER7;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,3.3,0 ),COLORDD33BB,LAYER7;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2.2 ,0 ),COLOREE44BB,LAYER7;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.1 ,0 ),COLORFF55BB,LAYER7;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,8,0 ),COLORFF7700,LAYER7;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,6.6 ,0 ),COLORFF8811,LAYER7;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,4.4,0 ),COLORFFAA22,LAYER7;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,3.3 ,0 ),COLORFFBB33,LAYER7;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2.2 ,0 ),COLORFFDD44,LAYER7;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.1 ,0 ),COLORFFFF55,LAYER7;
 




来函数检测结果如下
该公式没有未来函数


解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

源码SHORT赋值:5
LONG赋值:34
M赋值:5
输出DIFF:收盘价的SHORT日指数移动平均-收盘价的LONG日指数移动平均
输出DEA :DIFF的M日指数移动平均,画黄色
输出平滑异同平均线: 2*(DIFF-DEA),COLORFF26FF
FILLRGN(DIFF,DEA,DIFF>DEA,自定色,DIFF当满足条件MACD<1日前的MACDANDMACD>0时,在0和MACD位置之间画柱状线,宽度为8,0不为0则画空心柱.,COLOR00AAFF,LAYER7
当满足条件MACD<1日前的MACDANDMACD>0时,在0和MACD位置之间画柱状线,宽度为6.6,0不为0则画空心柱.,COLOR00BBFF,LAYER7
当满足条件MACD<1日前的MACDANDMACD>0时,在0和MACD位置之间画柱状线,宽度为4.4,0不为0则画空心柱.,COLOR00CCFF,LAYER7
当满足条件MACD<1日前的MACDANDMACD>0时,在0和MACD位置之间画柱状线,宽度为3.3,0不为0则画空心柱.,COLOR00DDFF,LAYER7
当满足条件MACD<1日前的MACDANDMACD>0时,在0和MACD位置之间画柱状线,宽度为2.2,0不为0则画空心柱.,COLOR00EEFF,LAYER7
当满足条件MACD<1日前的MACDANDMACD>0时,在0和MACD位置之间画柱状线,宽度为1.1,0不为0则画空心柱.,COLOR00FFFF,LAYER7
当满足条件MACD>=1日前的MACDANDMACD>0时,在0和MACD位置之间画柱状线,宽度为8,0不为0则画空心柱.,COLOR0000AA,LAYER7
当满足条件MACD>=1日前的MACDANDMACD>0时,在0和MACD位置之间画柱状线,宽度为6.6,0不为0则画空心柱.,COLOR0011BB,LAYER7
当满足条件MACD>=1日前的MACDANDMACD>0时,在0和MACD位置之间画柱状线,宽度为4.4,0不为0则画空心柱.,COLOR0022CC,LAYER7
当满足条件MACD>=1日前的MACDANDMACD>0时,在0和MACD位置之间画柱状线,宽度为3.3,0不为0则画空心柱.,COLOR0033DD,LAYER7
当满足条件MACD>=1日前的MACDANDMACD>0时,在0和MACD位置之间画柱状线,宽度为2.2,0不为0则画空心柱.,COLOR0044EE,LAYER7
当满足条件MACD>=1日前的MACDANDMACD>0时,在0和MACD位置之间画柱状线,宽度为1.1,0不为0则画空心柱.,COLOR0055FF,LAYER7
当满足条件MACD>1日前的MACDANDMACD<0时,在0和MACD位置之间画柱状线,宽度为8,0不为0则画空心柱.,COLORAA00BB,LAYER7
当满足条件MACD>1日前的MACDANDMACD<0时,在0和MACD位置之间画柱状线,宽度为6.6,0不为0则画空心柱.,COLORBB11BB,LAYER7
当满足条件MACD>1日前的MACDANDMACD<0时,在0和MACD位置之间画柱状线,宽度为4.4,0不为0则画空心柱.,COLORCC22BB,LAYER7
当满足条件MACD>1日前的MACDANDMACD<0时,在0和MACD位置之间画柱状线,宽度为3.3,0不为0则画空心柱.,COLORDD33BB,LAYER7
当满足条件MACD>1日前的MACDANDMACD<0时,在0和MACD位置之间画柱状线,宽度为2.2,0不为0则画空心柱.,COLOREE44BB,LAYER7
当满足条件MACD>1日前的MACDANDMACD<0时,在0和MACD位置之间画柱状线,宽度为1.1,0不为0则画空心柱.,COLORFF55BB,LAYER7
当满足条件MACD<=1日前的MACDANDMACD<0时,在0和MACD位置之间画柱状线,宽度为8,0不为0则画空心柱.,COLORFF7700,LAYER7
当满足条件MACD<=1日前的MACDANDMACD<0时,在0和MACD位置之间画柱状线,宽度为6.6,0不为0则画空心柱.,COLORFF8811,LAYER7
当满足条件MACD<=1日前的MACDANDMACD<0时,在0和MACD位置之间画柱状线,宽度为4.4,0不为0则画空心柱.,COLORFFAA22,LAYER7
当满足条件MACD<=1日前的MACDANDMACD<0时,在0和MACD位置之间画柱状线,宽度为3.3,0不为0则画空心柱.,COLORFFBB33,LAYER7
当满足条件MACD<=1日前的MACDANDMACD<0时,在0和MACD位置之间画柱状线,宽度为2.2,0不为0则画空心柱.,COLORFFDD44,LAYER7
当满足条件MACD<=1日前的MACDANDMACD<0时,在0和MACD位置之间画柱状线,宽度为1.1,0不为0则画空心柱.,COLORFFFF55,LAYER7

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图