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


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:

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,

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
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •