NLMS Volatility Trend Multi Pair Scanner Dashboard
- 지표
- 버전: 1.20
- 활성화: 5
NLMS Volatility Trend Multi Pair Scanner Dashboard
Overview
NLMS Volatility Trail Scanner Dashboard is a multi-symbol and multi-timeframe technical indicator and market scanner for MetaTrader 5 (MT5). It monitors multiple currency pairs, metals, or indices simultaneously across selected timeframes to detect trend shifts generated by an adaptive Normalized Least Mean Squares (NLMS) volatility trailing algorithm. To refine signal selectivity, the scanner integrates a modular 15-filter confirmation suite alongside automated Average True Range (ATR) Stop Loss (SL) and Take Profit (TP) calculations in an interactive on-chart table.
Operating Principle and Signal Conditions
- Adaptive NLMS Filtering: Applies a Normalized Least Mean Squares adaptive filter to historical price data to estimate short-term directional price trajectories while normalizing against recent input signal energy.
- Dynamic Volatility Trailing Bands: Calculates an ATR-calibrated volatility envelope around the adaptive estimate to establish upper and lower trailing boundaries that step with the prevailing trend and hold flat during minor pullbacks.
- Strict Non-Repainting Closed-Bar Logic: Updates filter weights strictly on completed historical bars and evaluates signals exclusively on closed candles (Shift 1 and older). Once confirmed at candle close, signal direction, timestamp, and price levels remain fixed and do not repaint.
- Buy Signal Condition: Triggered when the lower volatility trailing boundary crosses upward into a bullish regime from a non-bullish state on a closed candle and passes all enabled confirmation filters.
- Sell Signal Condition: Triggered when the upper volatility trailing boundary crosses downward into a bearish regime from a non-bearish state on a closed candle and passes all enabled confirmation filters.
- Modular Confluence Filtering: Operates standalone or combined with up to 15 built-in confirmation filters (RSI Cross, ADX, Single MA, Ichimoku Senkou Span B, Macro RSI 75, Double MA, Awesome Oscillator, Parabolic SAR, Heiken Ashi, CCI Trend, CCI OB/OS, RVI Trend/Signal, MACD Histogram/Zero, Support/Resistance with Fibonacci Retracement, and Supertrend). Every active filter must align with the signal direction on the closed bar.
- Automated ATR Risk Levels: Measures volatility via ATR upon signal confirmation to compute an Entry reference at the signal bar close, a Stop Loss level, and two Take Profit targets (TP1 and TP2) scaled by Risk-to-Reward multipliers.
Key Technical Features
- Multi-Pair and Multi-Timeframe Matrix: Scans configured symbols across any combination of MT5 timeframes (M1 to MN1) within one chart window.
- Market Watch or Custom List Mode: Scans active MT5 Market Watch instruments automatically or uses a custom comma-separated symbol list.
- Interactive Sortable Dashboard: Displays Symbol, Timeframe, Direction, Signal Time, Entry, SL, TP1, TP2, Trailing Value, Signal Age, and an OPEN button, with one-click ascending/descending sorting on Pair, Timeframe, Direction, and Time headers.
- Draggable and Collapsible Panel: Moves freely by dragging the header bar and collapses into a compact status bar via MIN/MAX, preserving coordinates and state across chart reloads.
- Active Chart Visual Overlay: Plots directional arrows and horizontal projection lines with labels for Entry, SL, TP1, and TP2 on the active chart.
- One-Click Chart Switching: Clicking OPEN on any signal row switches the terminal chart to that symbol and timeframe and draws its levels.
- Multi-Channel Alert Engine: Supports terminal pop-up dialogs, .wav sound alerts, mobile push notifications, and SMTP email alerts with duplicate suppression.
Dashboard Interface and Color Legend
- Table Columns: PAIR shows the instrument name; TF shows the timeframe; DIR indicates BUY or SELL; TIME shows the closed signal candle timestamp; ENTRY shows signal close price; SL, TP 1, and TP 2 show ATR risk/reward targets; TRAIL shows the trailing reference value; AGE shows elapsed time since confirmation; OPEN switches the active chart.
- Header Controls: REFRESH forces an immediate scan and handle reload; CLEAR removes dashboard graphics; MIN or MAX toggles between expanded table and compact bar view.
- Default Color Coding: Green text in DIR indicates bullish BUY signals and red indicates bearish SELL signals. Blue marks Entry levels, red marks Stop Loss, green tones mark TP1 and TP2, and muted gray denotes inactive elements and status text.
Alert and Notification System
- Pop-Up Alerts: Displays native MT5 alert dialogs with symbol, timeframe, direction, Entry, SL, TP1, TP2, trail level, and timestamp.
- Audible Sound Alerts: Plays a configured .wav file from the terminal Sounds folder upon signal detection.
- Mobile Push Notifications: Sends formatted signal alerts to iOS/Android MT5 mobile apps via MetaQuotes ID.
- Email Notifications: Dispatches signal reports via terminal SMTP mail settings with a custom subject prefix.
- Alert Filtering: Enabling InpAlertOnlyNew restricts alerts strictly to timestamps newer than previously alerted signals per slot.
Operation Recommendations and Resource Management
- Supported Instruments: Suitable for major and cross Forex pairs (EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, USDCHF, NZDUSD, EURJPY, GBPJPY), metals (XAUUSD), indices, and liquid CFDs. Verify broker symbol suffixes and spreads before configuration.
- Supported Timeframes: Compatible with all MT5 timeframes (M1 to MN1), suited for M15-H1 intraday monitoring and H4-D1 swing analysis.
- Account Environment: Works on both Hedging and Netting MT5 accounts. Closed-bar evaluation eliminates sensitivity to tick-level execution latency.
- CPU and Memory Optimization: Keep InpMaxSymbols between 10 and 20 pairs, InpBarsCopy around 150 to 300 bars, and InpScanSec at 5 seconds or higher on modest desktop or VPS hardware, and avoid running multiple dashboard instances simultaneously.
Input Parameters Documentation
Scanner Settings
- InpSymbols (Default: "EURUSD,GBPUSD,USDJPY,AUDUSD,USDCAD,USDCHF,NZDUSD,EURJPY,GBPJPY,XAUUSD"): Comma-separated symbol list scanned when Market Watch mode is disabled.
- InpTimeframes (Default: "M1,M5,M15,M30,H1,H4,D1"): Comma-separated timeframes included in the scanning matrix.
- InpUseWatch (Default: true): Scans symbols directly from MT5 Market Watch instead of InpSymbols when enabled.
- InpMaxSymbols (Default: 10): Maximum symbols loaded and scanned per cycle (in symbols).
- InpScanSec (Default: 7): Timer interval between background scan cycles (in seconds, minimum 3).
- InpBarsCopy (Default: 150): Historical bars copied per symbol and timeframe for calculations (in bars).
- InpLookback (Default: 100): Maximum closed bars searched backward for the latest valid signal (in bars).
- InpDirection (Default: 0): Directional scan mode (0 = Both Buy and Sell, 1 = Buy only, 2 = Sell only).
NLMS Volatility Trail Entry Settings
- InpTaps (Default: 2): Adaptive filter taps in the NLMS prediction engine (minimum: 2).
- InpMu (Default: 0.1): Adaptation step-size controlling weight update speed during historical training.
- InpEps (Default: 0.5): Regularization constant added to input energy for numerical stability.
- InpNlmsAtrPeriod (Default: 7): Lookback period for volatility range in NLMS trailing bands (in bars).
- InpNlmsAtrFactor (Default: 0.5): Multiplier applied to volatility range for upper and lower trailing bands.
- InpSource (Default: PRICE_CLOSE): Applied candle price type fed into the filter (Close, Open, High, Low, Median, Typical, or Weighted).
ATR SL and TP Settings
- InpATRPeriod (Default: 14): Averaging period for ATR used in Stop Loss and Take Profit sizing (in bars).
- InpATRMultSL (Default: 1.5): ATR multiplier defining Stop Loss distance from entry.
- InpTP1_RR (Default: 1.0): Risk-to-Reward multiplier relative to Stop Loss distance for TP1.
- InpTP2_RR (Default: 2.0): Risk-to-Reward multiplier relative to Stop Loss distance for TP2.
Alerts
- InpAlertPopup (Default: false): Enables native MT5 pop-up alert windows on signal detection.
- InpAlertSound (Default: false): Enables .wav sound playback when a signal triggers.
- InpSoundFile (Default: "alert2.wav"): Audio filename in the terminal Sounds folder for sound alerts.
- InpAlertPush (Default: false): Enables mobile push notifications via MetaQuotes ID.
- InpAlertEmail (Default: false): Enables email alerts via terminal SMTP settings.
- InpEmailSubject (Default: "NLMS Trail Scanner Signal"): Subject line prefix for outgoing signal emails.
- InpAlertOnlyNew (Default: false): Restricts alerts strictly to timestamps newer than the last alerted signal.
Display and UI
- InpX (Default: 12): Initial horizontal offset of the dashboard panel from top-left chart corner (in pixels).
- InpY (Default: 28): Initial vertical offset of the dashboard panel from top-left chart corner (in pixels).
- InpScale (Default: 100): Global UI scaling percentage for panel dimensions and fonts (in percent, range: 70 to 180).
- InpRowH (Default: 18): Height of each data row in the dashboard table (in pixels).
- InpFont (Default: 8): Base font size for table labels and prices (in points).
- InpPadX (Default: 8): Left and right inner horizontal padding of the dashboard panel (in pixels).
- InpWPair (Default: 68): Width of the PAIR symbol column (in pixels).
- InpWTF (Default: 34): Width of the TF timeframe column (in pixels).
- InpWArah (Default: 44): Width of the DIR signal direction column (in pixels).
- InpWTime (Default: 96): Width of the TIME signal timestamp column (in pixels).
- InpWEntry (Default: 64): Width of the ENTRY price column (in pixels).
- InpWSL (Default: 64): Width of the SL Stop Loss column (in pixels).
- InpWTP1 (Default: 64): Width of the TP 1 first target column (in pixels).
- InpWTP2 (Default: 64): Width of the TP 2 second target column (in pixels).
- InpWTrail (Default: 54): Width of the TRAIL trailing value column (in pixels).
- InpWUmur (Default: 42): Width of the AGE elapsed time column (in pixels).
- InpWOpen (Default: 44): Width of the OPEN chart-switch button column (in pixels).
- InpShowEmpty (Default: false): Displays symbol-timeframe rows without an active signal when enabled.
- InpMaxRows (Default: 18): Maximum signal rows rendered simultaneously in the table (in rows).
Sorting
- InpSortBy (Default: SORT_TIME): Default sorting field (SORT_TIME, SORT_PAIR, SORT_TF, or SORT_DIR).
- InpSortNewest (Default: true): Default sort order (true = descending/newest first, false = ascending/oldest first).
Chart Visuals
- InpDrawOnChart (Default: true): Enables drawing the latest valid signal arrow and levels on the active chart.
- InpShowArrow (Default: true): Toggles visibility of directional Buy/Sell arrows on the chart.
- InpShowLevels (Default: true): Toggles visibility of horizontal trendlines and labels for Entry, SL, TP1, and TP2.
- InpExtendBars (Default: 25): Horizontal projection length of Entry, SL, and TP lines from signal bar (in bars).
- InpArrowCodeBuy (Default: 233): Wingdings character code for Buy arrows.
- InpArrowCodeSell (Default: 234): Wingdings character code for Sell arrows.
- InpArrowSize (Default: 2): Size/width of signal arrows plotted on the chart.
- InpArrowDistance (Default: 15): Vertical spacing offset between signal price and plotted arrow (in broker points).
Color Palette
- InpColBg (Default: C'18,22,28'): Main background color of the dashboard panel.
- InpColHead (Default: C'32,38,48'): Background color of the panel header and column headers.
- InpColRow (Default: C'24,28,36'): Background color for even-indexed table rows.
- InpColRow2 (Default: C'28,33,42'): Background color for odd-indexed table rows.
- InpColText (Default: C'220,225,230'): Primary text color for symbols, timeframes, timestamps, and prices.
- InpColBull (Default: C'0,200,83'): Text color for bullish BUY labels in the dashboard.
- InpColBear (Default: C'255,82,82'): Text color for bearish SELL labels in the dashboard.
- InpColMute (Default: C'120,128,140'): Muted gray color for inactive rows and status descriptions.
- InpColAccent (Default: C'41,98,255'): Accent color for panel title, active sort headers, and OPEN buttons.
- InpColArrowBuy (Default: C'0,230,118'): Color of bullish Buy arrows on the chart.
- InpColArrowSell (Default: C'255,82,82'): Color of bearish Sell arrows on the chart.
- InpColEntry (Default: C'41,98,255'): Color of the Entry line and label on the chart.
- InpColSL (Default: C'255,82,82'): Color of the Stop Loss line and values on chart and dashboard.
- InpColTP1 (Default: C'0,200,83'): Color of the TP1 target line and values on chart and dashboard.
- InpColTP2 (Default: C'0,230,118'): Color of the TP2 target line and values on chart and dashboard.
Filter 1: RSI Cross Filter
- Use_RSI_Cross_Filter (Default: false): Enables RSI threshold crossover confirmation.
- RSI_Length (Default: 14): Calculation period for RSI cross filter (in bars).
- RSI_Price_Source (Default: PRICE_CLOSE): Applied price source for RSI calculations.
- RSI_Oversold (Default: 30.0): Lower RSI threshold crossed upward for Buy signals (in RSI units).
- RSI_Overbought (Default: 70.0): Upper RSI threshold crossed downward for Sell signals (in RSI units).
Filter 2: ADX Filter
- Use_ADX_Filter (Default: false): Enables ADX minimum trend-strength filtering.
- ADX_Period (Default: 10): Averaging period for ADX indicator (in bars).
- ADX_Min_Level (Default: 20.0): Minimum ADX main-line value required to confirm trend strength.
Filter 3: Single MA Filter
- Use_MA_Filter (Default: false): Enables single Moving Average trend-side filtering.
- MA_Period (Default: 50): Averaging period for baseline Moving Average (in bars).
- MA_Method (Default: MODE_SMA): Moving Average smoothing method (SMA, EMA, SMMA, or LWMA).
- MA_Shift (Default: 0): Horizontal bar shift applied to Moving Average (in bars).
Filter 4: Ichimoku Senkou Span B Filter
- Use_Ichimoku_Filter (Default: false): Enables price filtering relative to Ichimoku Senkou Span B.
- Ichimoku_Tenkan (Default: 9): Period for Tenkan-sen calculation (in bars).
- Ichimoku_Kijun (Default: 26): Period for Kijun-sen calculation (in bars).
- Ichimoku_SenkouB (Default: 52): Period for Senkou Span B calculation (in bars).
Filter 5: RSI 75 Filter
- Use_RSI75_Filter (Default: false): Enables long-period RSI 50-level macro trend filtering.
- RSI_Filter_Period (Default: 75): Calculation period for macro RSI trend filter (in bars).
Filter 6: Double MA Filter
- Use_DoubleMA_Filter (Default: false): Enables dual Moving Average alignment filtering.
- MA_A_Period (Default: 30): Period for fast Moving Average (in bars).
- MA_A_Method (Default: MODE_EMA): Smoothing method for fast Moving Average.
- MA_A_Applied (Default: PRICE_CLOSE): Applied price source for fast Moving Average.
- MA_A_Shift (Default: 0): Horizontal shift for fast Moving Average (in bars).
- MA_B_Period (Default: 140): Period for slow Moving Average (in bars).
- MA_B_Method (Default: MODE_EMA): Smoothing method for slow Moving Average.
- MA_B_Applied (Default: PRICE_CLOSE): Applied price source for slow Moving Average.
- MA_B_Shift (Default: 0): Horizontal shift for slow Moving Average (in bars).
Filter 7: Awesome Oscillator Filter
- Use_AO_Filter (Default: false): Enables Awesome Oscillator (AO) momentum confirmation.
- Use_AO_Volume_Filter (Default: false): Requires AO histogram amplitude to exceed thresholds.
- AO_Buy_Min (Default: 4.0): Minimum positive AO threshold for Buy signals in amplitude mode.
- AO_Sell_Max (Default: -4.0): Maximum negative AO threshold for Sell signals in amplitude mode.
- Use_AO_Color_Filter (Default: false): Requires AO bar-to-bar slope to match signal direction.
- Use_AO_Zero_Filter (Default: false): Requires AO value above zero (Buy) or below zero (Sell) with matching slope.
Filter 8: Parabolic SAR Filter
- Use_SAR_Filter (Default: false): Enables Parabolic SAR price-position trend filtering.
- SAR_Step (Default: 0.02): Acceleration factor step increment for Parabolic SAR.
- SAR_Maximum (Default: 0.2): Maximum acceleration factor cap for Parabolic SAR.
Filter 9: Heiken Ashi Filter
- Use_HeikenAshi_Filter (Default: false): Enables Heiken Ashi smoothed candle polarity confirmation.
Filter 10: CCI Trend Filter
- Use_CCI_Filter (Default: false): Enables Commodity Channel Index zero-line trend filtering.
- CCI_Period (Default: 50): Averaging period for CCI trend filter (in bars).
- CCI_Applied (Default: PRICE_CLOSE): Applied price source for CCI trend filter.
Filter 11: CCI OB and OS Filter
- Use_CCI_OBOS_Filter (Default: false): Enables CCI overbought/oversold zone momentum filtering.
- CCI_OBOS_Period (Default: 14): Averaging period for CCI OB/OS filter (in bars).
- CCI_OBOS_Applied (Default: PRICE_CLOSE): Applied price source for CCI OB/OS filter.
- CCI_Overbought (Default: 100.0): Upper CCI boundary required for Buy momentum confirmation.
- CCI_Oversold (Default: -100.0): Lower CCI boundary required for Sell momentum confirmation.
Filter 12: RVI Filters
- Use_RVI_Filter (Default: false): Enables Relative Vigor Index zero-line bias filtering.
- RVI_Period (Default: 75): Averaging period for RVI zero-line trend filter (in bars).
- Use_RVI_Signal_Filter (Default: false): Enables RVI main-line versus signal-line alignment filtering.
- RVI_Signal_Period (Default: 20): Averaging period for RVI main/signal crossover filter (in bars).
Filter 13: MACD Filters
- Use_MACD_Filter (Default: false): Enables MACD histogram polarity filtering.
- MACD_FastEMA (Default: 12): Fast EMA period for MACD calculation (in bars).
- MACD_SlowEMA (Default: 26): Slow EMA period for MACD calculation (in bars).
- MACD_SignalSMA (Default: 9): Signal line SMA period for MACD calculation (in bars).
- MACD_Applied (Default: PRICE_CLOSE): Applied price source for MACD calculation.
- Use_MACD_Zero_Filter (Default: false): Enables MACD main-line zero-axis directional filtering.
Filter 14: SR and Fibonacci Filters
- Use_SR_Filter (Default: false): Enables historical Support and Resistance zone proximity filtering.
- SR_Period (Default: 50): Lookback window in bars for identifying Support and Resistance bounds (in bars).
- SR_Zone_Points (Default: 80): Price tolerance buffer around Support/Resistance levels (in broker points).
- Use_Fib_Filter (Default: false): Enables ZigZag-based Fibonacci retracement zone filtering.
- Fib_Level_1 (Default: 0.382): First Fibonacci retracement ratio defining the valid pullback range.
- Fib_Level_2 (Default: 0.618): Second Fibonacci retracement ratio defining the valid pullback range.
- ZigZag_Depth (Default: 12): Minimum bar depth for ZigZag swing point detection (in bars).
- ZigZag_Deviation (Default: 5): Minimum price deviation between ZigZag swing points (in broker points).
- ZigZag_Backstep (Default: 3): Minimum bar separation between adjacent ZigZag swings (in bars).
Filter 15: Supertrend Filter
- Use_Supertrend_Filter (Default: false): Enables ATR-based Supertrend directional regime filtering.
- ST_AtrPeriod (Default: 10): Wilder's RMA ATR period used to compute Supertrend bands (in bars).
- ST_Factor (Default: 3.0): Volatility multiplier controlling Supertrend band distance and sensitivity.
Risk Disclaimer
Trading foreign exchange, commodities, indices, and other financial instruments carries a high level of risk and may not be suitable for all investors. Past performance or historical signal behavior do not guarantee future results. This indicator and scanner dashboard is a technical analysis utility designed strictly to assist traders in monitoring market conditions and does not constitute financial or investment advice. Always test the tool thoroughly on a MetaTrader 5 demo account to understand its operational behavior and resource usage before applying it to live market analysis.
