Overview
The "2 MA IND DASHBOARD" is a beginner-friendly, trend-following trading strategy coded in MQL5 for MetaTrader 5. For new traders, this strategy uses two Simple Moving Averages (SMAs)—a fast "5-period SMA" and a slow "10-period SMA"—to spot trends across multiple timeframes (M1 to MN1). It builds a visual dashboard on your chart, showing trend directions and a final buy, sell, or neutral signal based on which "SMA" is on top.
Strategy Rules
- Buy Signal: We buy when the "5-period SMA" is above the "10-period SMA" across more timeframes, indicating an uptrend. A "BUY SIGNAL" label in blue appears.
- Sell Signal: We sell when the "5-period SMA" is below the "10-period SMA" in more timeframes, showing a downtrend. A "SELL SIGNAL" label in red displays.
- Neutral: If buy and sell counts are equal, we see a "NEUTRAL SIG" label in black.
- Key Components:
- Compares "5-period SMA" and "10-period SMA" on closing prices.
- Checks 9 timeframes: "PERIOD_M1" (1 minute) to "PERIOD_MN1" (1 month).
- Visual dashboard with labels and arrows for trend direction.
- Platform: MetaTrader 5, using MQL5.