USE OF HMA (Hull Moving Average) INDICATOR IN AN EXPERT ADVISOR

MQL4 指标 专家

工作已完成

执行时间2 天
客户反馈
Muy buen trabajo, se me entregó el trabajo en el tiempo establecido. 100% recomendable.
员工反馈
Excelente cliente!! Un placer trabajar con él.

指定

I would like to add the HMA indicator attached to an EA. Any of the two attached indicators can be used and its parameters can be modified in the EA.

The logic of the expert advisor is as follows.

-EA will only place buy orders when a green candle forms and the HMA is up / green

-EA will only place sell orders when a red candle forms. HMA is down / red

This EA trades based on the direction of the previous candle, and I only want it to open positions if the full candle coincides with the trend of the HMA (i.e. red candle + red HMA = Sell and green candle + green HMA = Buy). If a bullish / green candle forms but the HMA trend is red / bearish, the EA should not open any orders when the candle completes. Conversely, if a red / bearish candle forms but the HMA trend is bullish / green, the EA should not open any orders when the candle completes.

Lastly, I would like the HMA to be visible on the chart the EA is attached to. It is important that you can see the HMA so that you can adjust the parameters accordingly.

Thanks.


附加的文件:

MQ4
IFX_HMA.mq4
2.6 Kb

反馈

1
开发者 1
等级
(37)
项目
62
6%
仲裁
18
28% / 50%
逾期
18
29%
空闲
2
开发者 2
等级
(93)
项目
133
35%
仲裁
13
38% / 31%
逾期
32
24%
空闲

项目信息

预算
50 - 200 USD
截止日期
 10 天