📈 SMC Multi EMA TrendLines — User Guide
MULTI-EMA EMA RIBBON TREND LINES UP TO 10 MAs EMA / SMA / LWMA METATRADER 5 ALIGNMENT DASHBOARD
Welcome to the official user guide for SMC Multi EMA TrendLines — an advanced MetaTrader 5 indicator that plots up to 10 fully independent Moving Average lines on your chart's current timeframe. Every line is individually configurable: period, method (EMA/SMA/SMMA/LWMA), applied price, colour, width, and style. An alignment dashboard shows price's position relative to each active MA and gives an overall stack bias reading. Whether you use it for Fibonacci EMA stacks, ribbon crossovers, or simple dual-MA systems, this indicator adapts to your strategy.
- Installation
- Understanding Moving Average Methods
- Default Configuration — What's Pre-Set and Why
- All Input Parameters Explained (Per Line + Dashboard)
- The Alignment Dashboard — How to Read It
- Preset Configurations for Popular Strategies
- Step-by-Step Trading Scenarios
- Common Mistakes
1️⃣ Installation
| 1 | Log in to your MQL5 account inside MetaTrader 5 (bottom toolbar → MQL5.community). |
| 2 | Press F4 to open MetaEditor. Navigate to Market → Purchased in the Navigator panel. |
| 3 | Find SMC Multi EMA TrendLines. Right-click → Install. |
| 4 | Return to MT5. Open a chart. Right-click → Insert → Indicators → Custom → SMC Multi EMA TrendLines. |
| 5 | The inputs dialogue opens with 10 groups (one per MA line). Configure your settings and click OK. |
| 6 | ✅ MA lines appear on the chart immediately. The alignment dashboard appears in the selected corner. |
2️⃣ Understanding Moving Average Methods
| Method | Full Name | Characteristic | Best Used For |
|---|---|---|---|
| EMA | Exponential Moving Average | Gives more weight to recent bars. Reacts faster to new price movement than SMA. | Trend following, dynamic support/resistance, SMC confluence — the most widely used by institutional traders. |
| SMA | Simple Moving Average | Equal weight to all bars in the period. Smoother, slower to react. | Long-period trend reference (SMA 200). Often used as a major support/resistance level. |
| SMMA | Smoothed Moving Average | Similar to EMA but uses a larger lookback by incorporating older data. Very smooth line. | Long-term trend identification where you want to filter out all short-term noise. |
| LWMA | Linear Weighted Moving Average | Weights bars linearly — most recent bar gets highest weight, oldest gets weight of 1. | Faster reaction than EMA. Used for early trend-change detection and momentum strategies. |
3️⃣ Default Configuration — What's Pre-Set and Why
| Slot | Period | Method | State | Rationale |
|---|---|---|---|---|
| MA 1 | 8 | EMA | ✅ Enabled | Fast momentum EMA — the first to react to price changes |
| MA 2 | 13 | EMA | ✅ Enabled | Fibonacci number — short-term trend direction |
| MA 3 | 21 | EMA | ✅ Enabled | Fibonacci — most widely watched short-term EMA in forex |
| MA 4 | 34 | EMA | ✅ Enabled | Fibonacci — transition between short and medium term |
| MA 5 | 50 | EMA | ✅ Enabled | Standard medium-term EMA — major institutional reference |
| MA 6 | 89 | EMA | ⬜ Disabled | Fibonacci — enable for extended ribbon setups |
| MA 7 | 100 | EMA | ⬜ Disabled | Round number — often used with 200 EMA as dual-MA system |
| MA 8 | 144 | EMA | ⬜ Disabled | Fibonacci — used in longer-term confluence strategies |
| MA 9 | 200 | EMA | ⬜ Disabled | The most important EMA globally — enable for trend bias |
| MA 10 | 233 | EMA | ⬜ Disabled | Fibonacci — used in advanced Fibonacci EMA stack strategies |
4️⃣ All Input Parameters Explained
🔷 Per-Line Inputs (MA 1 through MA 10 — same structure for each)
| Input | What It Does | Effect on Chart |
|---|---|---|
| InpMAx_On | Enable or disable this specific MA line entirely. When disabled, the line is hidden and uses zero CPU — it does not exist on the chart. | Toggle to show/hide without losing your period and style settings. Useful for temporarily removing clutter. |
| InpMAx_Period | The lookback period for this MA. EMA(21) averages the last 21 bars with exponential weighting. | ⬇️ Lower period = shorter, faster, more reactive line that stays close to price. ⬆️ Higher period = longer, smoother line further from price that shows the bigger trend. |
| InpMAx_Method | The calculation method: MODE_EMA, MODE_SMA, MODE_SMMA, or MODE_LWMA. See Section 2 for a full comparison. | EMA = most common and responsive. SMA = equal-weight, smoother. SMMA = very smooth long-term. LWMA = fast-reacting weighted. You can mix methods across different slots. |
| InpMAx_Price | Which price the MA is calculated on: PRICE_CLOSE, PRICE_OPEN, PRICE_HIGH, PRICE_LOW, PRICE_MEDIAN (HL/2), PRICE_TYPICAL (HLC/3), PRICE_WEIGHTED (OHLC/4). | CLOSE = standard and most used. MEDIAN or TYPICAL = useful for smoothing wicks. HIGH/LOW = creates boundary MAs above/below price (envelope-style). |
| InpMAx_Color | The line colour on the chart. | Use a visual gradient (e.g. bright blue → cyan → green → yellow → orange) from fastest to slowest MA. This creates an intuitive ribbon that shows price position at a glance. |
| InpMAx_Width | Line thickness in pixels. Range: 1 (thinnest) to 5 (thickest). | Make slower, more important EMAs thicker (e.g. EMA50 = width 2, EMA200 = width 3). Keep fast short-term EMAs thin (width 1) to avoid chart clutter. |
| InpMAx_Style | Line drawing style: STYLE_SOLID, STYLE_DASH, STYLE_DOT, STYLE_DASHDOT, STYLE_DASHDOTDOT. | SOLID for your main active EMAs. DASH for secondary context EMAs. DOT for the 200 EMA as a background reference. Mixing styles makes the chart readable even without colour. |
🔷 Display Options
| Input | Default | What It Does | Effect |
|---|---|---|---|
| InpShowLabels | true | Shows a floating text label at the right edge of each active MA line displaying its name and current value. | Example: "EMA21 1.08432" appears at the current bar position on the right side of the chart. Disable if labels overlap other indicators. |
| InpShowDash | true | Shows the alignment dashboard panel with all active MAs, their current values, and whether price is above or below each. | Disable for a clean chart-only view. Keep enabled to quickly read the overall stack bias without counting lines manually. |
| InpDashX / InpDashY | 15 / 30 | Pixel offset of the dashboard from the selected corner. | Adjust to avoid overlap with other dashboard indicators (e.g. the Smc Trend Heatmap). Place them side by side. |
| InpDashCorner | UPPER RIGHT | Corner the dashboard anchors to. | Change to UPPER_LEFT if you prefer it on the left. LOWER corners work well with chart toolbars visible. |
| InpDebugMode | false | Prints CopyBuffer status and calculation events to the Experts log. | Enable only when troubleshooting — outputs a line for every MA on every tick. |
5️⃣ The Alignment Dashboard — How to Read It
The dashboard updates continuously as price moves. Each row represents one active MA line. The dashboard automatically resizes to fit however many MAs you have enabled.
────────────────────────
MA VALUE POS
EMA8 1.08432 ▲ ABOVE
EMA13 1.08418 ▲ ABOVE
EMA21 1.08390 ▲ ABOVE
EMA34 1.08361 ▲ ABOVE
EMA50 1.08310 ▲ ABOVE
▲ BULLISH (100% above)
| Dashboard Reading | What It Means | Trading Implication |
|---|---|---|
| ▲ BULLISH (100% above) | Price is above every single active MA. All MAs in order from fast to slow (stacked up). | Strongest bull condition. Trend is intact at all observed timeframes. Only take long entries. |
| ▲ BULLISH (70% above) | Price is above most MAs but not all. Some of the slower MAs are still above price — a partial stack. | Moderate bull. Trend is developing but not fully extended. Long entries are valid with confirmation. |
| ◆ MIXED / NEUTRAL | Price is threading through the middle of the MA stack — above some, below others. | Ranging or transitioning market. Avoid new positions. Wait for price to break clearly above or below the full stack. |
| ▼ BEARISH (80% below) | Price is below most MAs. Stack is in bearish order. | Strong bear condition. Only take short entries. Use with Session Breakout or Liquidity Grab for entry timing. |
6️⃣ Preset Configurations for Popular Strategies
| Slot | Period | Method | On |
|---|---|---|---|
| MA1 | 8 | EMA | ✅ |
| MA2 | 13 | EMA | ✅ |
| MA3 | 21 | EMA | ✅ |
| MA4 | 34 | EMA | ✅ |
| MA5 | 50 | EMA | ✅ |
| MA6–10 | – | – | ⬜ |
Use: SMC confluence. When all 5 are in perfect order (8→13→21→34→50 above/below price), it confirms a strong trend continuation setup.
| Slot | Period | Method | On |
|---|---|---|---|
| MA1 | 50 | EMA | ✅ |
| MA2 | 200 | SMA | ✅ |
| MA3–10 | – | – | ⬜ |
Use: "Golden Cross / Death Cross" — when 50 EMA crosses above 200 SMA = long signal. Below = short. Clean and simple with just 2 lines.
| Slot | Period | Method | On |
|---|---|---|---|
| MA1 | 9 | EMA | ✅ |
| MA2 | 21 | EMA | ✅ |
| MA3 | 50 | EMA | ✅ |
| MA4–10 | – | – | ⬜ |
Use: Trend + momentum + context. Enter when 9 crosses 21, confirm with position relative to 50.
| Slot | Period | Method | On |
|---|---|---|---|
| MA1 | 8 | EMA | ✅ |
| MA2 | 13 | EMA | ✅ |
| MA3 | 21 | EMA | ✅ |
| MA4 | 34 | EMA | ✅ |
| MA5 | 55 | EMA | ✅ |
| MA6 | 89 | EMA | ✅ |
| MA7 | 144 | EMA | ✅ |
| MA8–10 | – | – | ⬜ |
Use: Full ribbon. When price is cleanly above all 7 = very strong trend. When price threads through = ranging — wait.
7️⃣ Step-by-Step Trading Scenarios
Setup: H4 EURUSD. All 5 default EMAs enabled (8, 13, 21, 34, 50). Dashboard reads ▲ BULLISH (100%).
| 1 | Dashboard: all 5 rows show "▲ ABOVE". Stack alignment = 100% bull. Trend is clear and intact on H4. |
| 2 | Price pulls back during the London session. It touches the EMA21 line (the third-fastest EMA) and stalls. A long lower wick forms on a H4 candle at the EMA21 level. |
| 3 | The EMA21 is acting as dynamic support — it has held price on the last 3 pullbacks this week. |
| 4 | Right-edge label shows: "EMA21 1.08390". Dashboard still reads 100% above — price is resting on EMA21, not breaking below it. |
| 5 | Open your SMC OrderBlock Engine on the same chart. A bullish OB is visible in the same price region as EMA21. Confluence confirmed. ✅ |
| 6 | Trade: Long at the close of the rejection candle. SL below EMA34 (next MA below). TP at previous swing high. The EMA stack acts as a rising floor — trail SL up as price moves. |
Setup: M15 GBPUSD. All 5 EMAs enabled. Price has been choppy — dashboard shows MIXED / NEUTRAL.
| 1 | Dashboard: 3 MAs above price, 2 below. Stack reads "◆ MIXED / NEUTRAL". This signals a ranging, compressing market — wait. |
| 2 | Over the next 8 bars, all 5 EMA lines converge at approximately 1.27150. The lines are nearly touching — the ribbon is "squeezed". This is a compression/coiling pattern before a breakout. |
| 3 | A strong bearish candle breaks below all 5 EMAs in a single move. On the next bar, dashboard shows: all 5 rows "▼ BELOW". Stack flips to ▼ BEARISH (100%). |
| 4 | Open the Smc Session Killzone and Breakout — an Asian high was swept just before this move. Liquidity was collected above before the drop. ✅ Full SMC confluence. |
| 5 | Trade: Short on the first pullback to the underside of EMA21 (now resistance). SL above the EMA8 (fastest MA, now acting as resistance ceiling). TP at previous swing low. |
Setup: H1 USDJPY. EMA200 enabled (MA9 slot, period=200, method=EMA).
| 1 | The right-edge label shows: "EMA200 149.820". You now know the exact price of the 200 EMA without hovering or reading off the chart manually. |
| 2 | Price is approaching 149.820 from above during a pullback. This level is your dynamic support. |
| 3 | Open Liquidity Grab Engine SMC Strategy on the same chart. An equal low (EQL) is sitting at 149.815 — just below the EMA200. Two liquidity magnets stacked together. |
| 4 | Price wicks to 149.810, sweeps the EQL, closes back above 149.815. ✅ EQL sweep + EMA200 support bounce = confluence. |
| 5 | Trade: Long on bullish confirmation candle. SL below 149.795 (below the sweep low). TP at next swing high. Clean institutional setup with multi-indicator confluence. |
8️⃣ Common Mistakes
| ❌ Mistake | ✅ Fix |
|---|---|
| Enabling all 10 MAs at once and creating an unreadable spaghetti chart | Start with 3–5 MAs maximum. Add more only when you have a specific reason. The Fibonacci 5-stack (8,13,21,34,50) is the most practical starting point for SMC traders. |
| Using the dashboard's BULLISH reading as an entry signal without price action confirmation | The dashboard shows trend direction — it does not time entries. A 100% bullish stack during a correction still has price falling. Combine with SMC entry indicators for actual signals. |
| Setting all 10 MAs to the same method (all EMA) and expecting different behaviour | If all are EMA, the difference comes only from period. Try mixing: EMA for fast lines, SMA for the 200 (the SMA 200 is the most universally watched), LWMA for the trigger line. |
| Ignoring the EMA stack order as a trend filter — trading while price is threading through the stack | A "spaghetti" pattern where price is between multiple MAs = ranging market. Wait for price to cleanly break and close above or below the full stack before entering trend trades. |
| Not adjusting InpDashX/Y when running multiple SMC indicators simultaneously — dashboards overlap | If using the Smc Trend Heatmap on the same chart, set the Heatmap to UPPER_LEFT and Multi-EMA to UPPER_RIGHT, or adjust X offset to space them apart (e.g. InpDashX=220 for the second panel). |
⭐⭐⭐⭐⭐
GET EA FOR FREE : https://www.mql5.com/en/market/product/174869
I would greatly appreciate a positive review if you are happy with your EA.
Please contact me to find a solution if you are not.
Your feedback supports ongoing development and helps other traders in the MQL5 community. 🙏
SMC Multi EMA TrendLines · MetaTrader 5 · EMA Ribbon · Moving Average · Fibonacci EMA · Alignment Dashboard · MQL5 Indicator


