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
等级
(481)
项目
510
53%
仲裁
10
60% / 20%
逾期
3
1%
空闲
2
开发者 2
等级
(261)
项目
426
38%
仲裁
86
44% / 19%
逾期
71
17%
已载入
3
开发者 3
等级
(213)
项目
246
45%
仲裁
42
10% / 57%
逾期
5
2%
空闲

项目信息

预算
30+ USD
开发人员
27 USD
截止日期
 1  2 天