Check EMA function that returns Angle of EMA

MQL5 指标 专家

指定


I am looking for a way to avoid trading small pullbacks in a strong trend, using the EMA.


What I need is someone to program a Function CheckEMA:

before opening a trade, we check the EMA.

The EMA has to be pointed in the direction of the current Trend: Up in a Long Trade, down in a Short trend.

And it has to be steeper than a certain Angle.


The function that I wish to be coded returns the angle of the EMA in an integer value: Positive for Up, negative for down. 


All this in a Heikin Ashi Chart.




反馈

1
开发者 1
等级
(513)
项目
552
53%
仲裁
13
69% / 15%
逾期
3
1%
空闲
2
开发者 2
等级
(298)
项目
478
40%
仲裁
105
40% / 24%
逾期
82
17%
已载入
发布者: 2 代码
3
开发者 3
等级
(213)
项目
246
45%
仲裁
42
10% / 57%
逾期
5
2%
空闲

项目信息

预算
30+ USD
截止日期
 1  2 天