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

MQL4 Indicators Experts

Job finished

Execution time 2 days
Feedback from customer
Muy buen trabajo, se me entregó el trabajo en el tiempo establecido. 100% recomendable.
Feedback from employee
Excelente cliente!! Un placer trabajar con él.

Specification

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.


Files:

MQ4
IFX_HMA.mq4
2.6 Kb

Responded

1
Developer 1
Rating
(37)
Projects
62
6%
Arbitration
18
28% / 50%
Overdue
18
29%
Free
2
Developer 2
Rating
(93)
Projects
133
35%
Arbitration
13
38% / 31%
Overdue
32
24%
Free

Project information

Budget
50 - 200 USD
Deadline
to 10 day(s)