SMC Multi EMA TrendLines
- 指标
- Enechojo Victor Ayegba
- 版本: 1.10
SMC Multi EMA TrendLines
SMC Multi EMA TrendLines is a MetaTrader 5 indicator that draws up to ten independent moving average lines on the current chart timeframe. Each of the ten lines is fully configurable: period, calculation method, applied price, colour, line width, and line style are all set independently per line. An alignment dashboard shows the current value of each active line and whether price is above or below it, with an overall stack bias reading.
The indicator supports four calculation methods: EMA (Exponential Moving Average), SMA (Simple Moving Average), SMMA (Smoothed Moving Average), and LWMA (Linear Weighted Moving Average). Different methods can be assigned to different lines simultaneously. The default configuration enables five lines with Fibonacci periods of 8, 13, 21, 34, and 50 using EMA, which forms a standard institutional Fibonacci EMA stack.
COMPREHENSIVE INSTALLATION & USER GUIDE
How the lines and dashboard work
All ten indicator buffers are registered at initialisation. Only enabled lines are drawn; disabled lines use no resources and produce no output. The calculation uses CopyBuffer from native iMA handles, which means the lines are identical to MetaTrader's built-in moving averages. A right-edge label shows the name and current value of each active line at the most recent bar position on the chart.
The dashboard panel lists each active line with its current price value and whether the current bar's closing price is above or below it. A percentage is calculated from the proportion of active lines that price is above, and an overall reading of bullish, bearish, or mixed is displayed at the bottom of the panel. The panel resizes dynamically to fit the number of active lines.
Default line configuration
| Line | Period | Method | Default state |
|---|---|---|---|
| Line 1 | 8 | EMA | Enabled |
| Line 2 | 13 | EMA | Enabled |
| Line 3 | 21 | EMA | Enabled |
| Line 4 | 34 | EMA | Enabled |
| Line 5 | 50 | EMA | Enabled |
| Line 6 | 89 | EMA | Disabled |
| Line 7 | 100 | EMA | Disabled |
| Line 8 | 144 | EMA | Disabled |
| Line 9 | 200 | EMA | Disabled |
| Line 10 | 233 | EMA | Disabled |
Key settings
| Setting (per line) | Options |
|---|---|
| Enable/disable | On or off. Disabled lines are fully hidden with no CPU cost. |
| Period | Any positive integer. Shorter periods follow price closely. Longer periods show the major trend. |
| Method | EMA, SMA, SMMA, or LWMA. Each method can differ per line. |
| Applied price | Close, Open, High, Low, Median, Typical, or Weighted. |
| Colour, width, style | Standard MT5 colour picker. Width 1 to 5. Solid, dash, or dot. |
Compatibility
Works on all symbols and all chart timeframes in MetaTrader 5. The lines calculate on whichever timeframe the chart is set to. No DLL imports required.
I would greatly appreciate a positive review if you are happy with your indicator. Please contact me to find a solution if you are not | MQL5 | Your feedback helps improve the tool for every trader in the community.
