通达信10日均线操盘指标公式

EMA40:=EMA(CLOSE,40);
EMA5:=EMA(CLOSE,5);
X2:=EMA5;
X3:=EMA40;
主升:=C>X2 AND C>X3;
主跌:=C<X3;
回调:=C<X2 AND C>X3;
反弹:=C>X2 AND C<X3;
STICKLINE(主升,CLOSE,O,2.8,0),COLOR000055;
STICKLINE(主升,CLOSE,O,2,0),COLOR000088;
STICKLINE(主升,CLOSE,O,1.5,0),COLOR0000AA;
STICKLINE(主升,CLOSE,O,1,0),COLOR0000CC;
STICKLINE(主升,CLOSE,O,0.5,0),COLOR0000EE;
STICKLINE(主升,H,L,0,0),COLOR0000EE;
STICKLINE(主跌,CLOSE,O,2.8,0),COLOR555500;
STICKLINE(主跌,CLOSE,O,2,0),COLOR888800;
STICKLINE(主跌,CLOSE,O,1.5,0),COLORAAAA00;
STICKLINE(主跌,CLOSE,O,1,0),COLORCCCC00;
STICKLINE(主跌,CLOSE,O,0.5,0),COLOREEEE00;
STICKLINE(主跌,H,L,0,0),COLOREEEE00;
STICKLINE(回调,O,C,2.8,0),COLORBB4400;
STICKLINE(回调,O,C,2,0),COLORCC5500;
STICKLINE(回调,O,C,1.5,0),COLORDD6600;
STICKLINE(回调,O,C,1,0),COLOREE7700;
STICKLINE(回调,O,C,0.5,0),COLORFF8800;
STICKLINE(回调,H,L,0,0),COLORFF8800;
STICKLINE(反弹,O,C,2.8,0),COLOR0077BB;
STICKLINE(反弹,O,C,2,0),COLOR0099CC;
STICKLINE(反弹,O,C,1.5,0),COLOR00BBDD;
STICKLINE(反弹,O,C,1,0),COLOR00DDEE;
STICKLINE(反弹,O,C,0.5,0),COLOR00FFFF;
STICKLINE(反弹,H,L,0,0),COLOR00FFFF;
DRAWTEXT_FIX(C>0,0,0,0,'【█】涨势'),COLOR0000AA;
DRAWTEXT_FIX(C>0,0,0.04,0,'【█】回调'),COLORDD6600;
DRAWTEXT_FIX(C>0,0,0.08,0,'【█】跌势'),COLORAAAA00;
DRAWTEXT_FIX(C>0,0,0.12,0,'【█】反弹'),COLOR00BBDD;


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

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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