同花顺真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
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图