Simple MACD - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources




Trade only on new bars. The trading rule is simple - on the new bar, compare the values of the main lines on bar (1) and bar (2):
If MAIN_LINE MACD (1) > MAIN_LINE MACD (2) -> Buy,
If MAIN_LINE MACD (1) < MAIN_LINE MACD (2) -> Sell.
Close all positions when receiving a signal opposite to opening a position.
This code can be seen as a test of the theory: if MACD is greater than its previous value, we can buy. As you can see, this form of theory is a complete failure. It requires additional filters and location protection.
Attachment download
📎 simple_macd.mq5 (18.76 KB)
Source: MQL5 #17425
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •