Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Simple EA MA plus MACD - MetaTrader 5 Expert | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

Simple EA MA plus MACD - expert for MetaTrader 5

Simple EA MA plus MACD - expert for MetaTrader 5

The author of the idea - Vladimir Hristov

mq5 code author - Bara Bashkakon

This is a simple Expert Advisor that uses two indicators: iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD). The EA only opens one position at a time, so it can be used on both hedging and netting accounts.

First, the indicator looks for signal bars: when a new bar (#0) appears, check whether the MACD indicator in bar #1 crosses the zero line. A cross means the signal bar has been found. Sell ​​signal example:

Simple EA MA plus MACD - expert for MetaTrader 5

Once you find a signal bar, remember the high and low prices of the signal bar and wait for the price to break through one of them. If it is a sell bar: if the price breaks through the low, a sell position is opened,

Simple EA MA plus MACD - expert for MetaTrader 5

If the price breaks above the high, the sell signal is reset.


Attachment download

📎 simple_ea_ma_plus_macd.mq5 (63.46 KB)

Source: MQL5 #23040

Verification code Refresh