MA High Low Scanner Dashboard Multi Pair Breakout
- Indicatori
- Versione: 1.0
- Attivazioni: 20
MA High Low Scanner Dashboard Multi Pair Breakout
Overview and Core Objective
MA 10 HL Scanner Dashboard is a technical analysis indicator and multi-symbol, multi-timeframe scanner built for MetaTrader 4. Its objective is to monitor price breakouts across an upper and lower Moving Average channel while aligning setups with a higher-period Baseline Moving Average trend filter and a modular 15-filter confirmation suite. Traders can monitor confirmed closed-candle setups, timestamps, elapsed bar ages, and volatility-adjusted risk levels from one draggable chart panel. This tool operates strictly as an analytical decision-support utility and does not execute automated orders.
Technical Operating Principle and Signal Logic
The signal engine evaluates price action using a dual-band Moving Average channel paired with multi-layer directional filtering:
- High and Low Moving Average Channel: Computes two Moving Average lines of equal period and smoothing method applied separately to candlestick High prices (upper band) and Low prices (lower band) to frame price volatility.
- Bullish Signal Condition (BUY): Triggered on a closed bar when price closes above the upper High-based Moving Average band after closing below it on the prior bar, confirming upward momentum.
- Bearish Signal Condition (SELL): Triggered on a closed bar when price closes below the lower Low-based Moving Average band after closing above it on the prior bar, confirming downward momentum.
- Long-Term Baseline Trend Filter: When enabled, bullish setups require price to close above the upper Baseline Moving Average band, while bearish setups require price to close below the lower Baseline Moving Average band.
- Modular 15-Filter Confirmation Layer: Breakouts can be filtered through up to fifteen independent technical modules covering oscillators, trend strength, cloud boundaries, candle polarity, support/resistance zones, and Fibonacci levels. All enabled modules must align with the breakout direction.
- Closed-Candle Non-Repainting Behavior: The core scanner evaluates completed bars from the most recently closed bar (Bar 1) backward within the lookback window; active bar (Bar 0) never triggers signals. Once closed, signal direction, entry, timestamp, and ATR targets remain fixed and do not repaint. If the optional ZigZag-based Fibonacci filter is enabled, swing pivots follow standard ZigZag rules.
- ATR Stop Loss and Take Profit Levels: Volatility is measured at the signal bar via Average True Range (ATR). Stop Loss (SL) is projected from entry close using ATR times the SL multiplier, while Take Profit 1 (TP1) and Take Profit 2 (TP2) are plotted at exact Risk-to-Reward (RR) multiples of SL distance.
Key Features, GUI Legend, and Resource Management
- Multi-Symbol and Multi-Timeframe Matrix: Scans custom symbol lists or Market Watch symbols across up to nine timeframes (M1, M5, M15, M30, H1, H4, D1, W1, MN1) via a timer.
- Broker Symbol Suffix Detection: Automatically detects and appends broker symbol suffixes (such as micro, cent, or ECN suffixes) when loading custom pair lists.
- Interactive Graphical User Interface (GUI) Legend:
- Green Direction Badge and Target Text: Indicates a confirmed Bullish (BUY) breakout and highlights TP1 and TP2 price levels.
- Red Direction Badge and Stop Text: Indicates a confirmed Bearish (SELL) breakout and highlights the protective SL price level.
- Blue Accent Highlights and Entry Line: Identifies the dashboard title header, active sorting indicator, interactive buttons, and signal Entry line on the chart.
- Muted Gray Text: Displays elapsed signal age, inactive rows (when enabled), and scanner status telemetry.
- Header Controls: REFRESH triggers an immediate rescan; CLEAR removes dashboard objects; MIN and MAX collapse or expand the table into a compact bar while saving screen coordinates across chart reloads.
- Sortable Headers and One-Click Chart Switch: Clicking PAIR, TF, DIR, or TIME headers sorts rows in ascending or descending order. Clicking OPEN on any signal row switches the active chart to that symbol and timeframe and plots Entry, SL, TP1, and TP2 lines.
- Multi-Channel Alert System: Supports terminal pop-ups, WAV sounds, mobile push via MetaQuotes ID, and SMTP email alerts with timestamp duplicate suppression.
- CPU and Memory Efficiency: Multi-pair scanning processes multiple series concurrently; adjust InpBarsCopy, InpMaxSymbols, and InpScanSec to manage CPU/RAM load, and avoid running multiple instances across many open charts.
Operational and Trading Recommendations
- Supported Instruments: Compatible with Forex pairs, metals (such as XAUUSD), indices, and liquid CFDs in MetaTrader 4. Verify spread and tick specifications before live use.
- Recommended Timeframes: Adaptable to scalping (M1, M5), day trading (M15, M30, H1), and swing trading (H4, D1). Timeframes from M15 upward typically reduce false channel breakouts compared to M1.
- Account Environment: Compatible with Hedging and Netting MetaTrader 4 accounts on Standard, Raw, or ECN feeds. Ensure historical bar data is loaded in the terminal History Center for all scanned symbols and timeframes.
Input Parameters Documentation
1. Scanner Settings
- InpGroup1 (Default: "=== 1. SCANNER SETTINGS ==="): Section divider for scanner settings.
- InpSymbols (Default: "EURUSD,GBPUSD,USDJPY,AUDUSD,USDCAD,USDCHF,NZDUSD,EURJPY,GBPJPY,XAUUSD"): Comma-separated symbols scanned when Market Watch mode is off.
- InpTimeframes (Default: "M1,M5,M15,M30,H1,H4,D1"): Comma-separated timeframes scanned concurrently.
- InpUseWatch (Default: true): Loads visible symbols from Market Watch instead of InpSymbols when true.
- InpMaxSymbols (Default: 10): Maximum symbols scanned simultaneously (count).
- InpScanSec (Default: 7): Background timer interval between scan cycles (seconds; minimum 3).
- InpBarsCopy (Default: 300): Historical bars analyzed per symbol/timeframe (bars; minimum 250 recommended for 200 EMA baseline).
- InpLookback (Default: 100): Maximum closed bars searched backward from Bar 1 for latest signal (bars).
- InpDirection (Default: 0): Direction filter (0 = Both, 1 = Buy only, 2 = Sell only).
2. Entry Logic: EMA High/Low Settings
- InpGroup2 (Default: "=== 2. ENTRY LOGIC: EMA HIGH/LOW SETTINGS ==="): Section divider for Moving Average channel inputs.
- InpEMAPeriod (Default: 10): Period for High and Low Moving Average breakout channel (bars).
- InpMAMethod (Default: MODE_EMA): Moving Average smoothing method (MODE_SMA, MODE_EMA, MODE_SMMA, MODE_LWMA).
- InpUseFilter (Default: true): Enables or disables Baseline Moving Average trend filter.
- InpFilterPeriod (Default: 200): Period for Baseline Moving Average applied to High and Low prices (bars).
3. ATR SL and TP Settings
- InpGroup3 (Default: "=== 3. ATR SL & TP SETTINGS ==="): Section divider for ATR target inputs.
- InpATRPeriod (Default: 14): Lookback period for ATR volatility calculation (bars).
- InpATRMultSL (Default: 1.5): ATR multiplier used to compute Stop Loss distance from entry (multiplier).
- InpTP1_RR (Default: 1.0): Risk-to-Reward multiplier for Take Profit 1 relative to SL distance (ratio).
- InpTP2_RR (Default: 2.0): Risk-to-Reward multiplier for Take Profit 2 relative to SL distance (ratio).
4. Alerts and Notifications
- InpGroup4 (Default: "=== 4. ALERTS & NOTIFICATIONS ==="): Section divider for alert inputs.
- InpAlertPopup (Default: false): Enables terminal pop-up alert windows.
- InpAlertSound (Default: false): Enables WAV sound playback on signal detection.
- InpSoundFile (Default: "alert2.wav"): Audio filename in terminal Sounds folder.
- InpAlertPush (Default: false): Enables mobile push notifications via MetaQuotes ID.
- InpAlertEmail (Default: false): Enables email alerts via terminal SMTP settings.
- InpEmailSubject (Default: "MA 10 HL Scanner Signal"): Subject prefix for outgoing alert emails.
- InpAlertOnlyNew (Default: false): Triggers alerts only when a newer signal timestamp appears than previously alerted.
5. Display and UI
- InpGroup5 (Default: "=== 5. DISPLAY & UI ==="): Section divider for panel layout inputs.
- InpX (Default: 12): Initial horizontal X offset from upper-left chart corner (pixels).
- InpY (Default: 28): Initial vertical Y offset from upper-left chart corner (pixels).
- InpScale (Default: 100): UI scaling percentage for high-DPI screens (70 to 180 percent).
- InpRowH (Default: 18): Height of each table row (pixels).
- InpFont (Default: 8): Base font size for table cells and headers (points).
- InpPadX (Default: 8): Horizontal inner padding inside panel frame (pixels).
- InpWPair (Default: 68): Width of PAIR column (pixels).
- InpWTF (Default: 34): Width of TF column (pixels).
- InpWDir (Default: 44): Width of DIR column (pixels).
- InpWTime (Default: 96): Width of TIME column (pixels).
- InpWEntry (Default: 64): Width of ENTRY column (pixels).
- InpWSL (Default: 64): Width of SL column (pixels).
- InpWTP1 (Default: 64): Width of TP1 column (pixels).
- InpWTP2 (Default: 64): Width of TP2 column (pixels).
- InpWEMA (Default: 64): Width of EMA reference column (pixels).
- InpWAge (Default: 42): Width of AGE column (pixels).
- InpWOpen (Default: 44): Width of OPEN button column (pixels).
- InpShowEmpty (Default: false): Displays inactive symbol-timeframe rows when true, or hides them when false.
- InpMaxRows (Default: 18): Maximum visible rows rendered in table (rows).
6. Sorting
- InpGroup6 (Default: "=== 6. SORTING ==="): Section divider for sort inputs.
- InpSortBy (Default: SORT_TIME): Default sort field (SORT_TIME, SORT_PAIR, SORT_TF, or SORT_DIR).
- InpSortNewest (Default: true): Uses descending sort order when true, or ascending when false.
7. Chart Visuals
- InpGroup7 (Default: "=== 7. CHART VISUALS ==="): Section divider for on-chart object inputs.
- InpDrawOnChart (Default: true): Draws active chart symbol-timeframe arrow and levels when true.
- InpShowArrow (Default: true): Displays directional signal arrows at signal bar.
- InpShowLevels (Default: true): Displays horizontal Entry, SL, TP1, and TP2 lines and labels.
- InpExtendBars (Default: 25): Bars to extend level lines to the right (bars).
- InpArrowCodeBuy (Default: 233): Wingdings character code for Buy arrows.
- InpArrowCodeSell (Default: 234): Wingdings character code for Sell arrows.
- InpArrowSize (Default: 2): Width size of plotted signal arrows (scale 1 to 5).
- InpArrowDistance (Default: 15): Vertical offset between candle price and arrow marker (points).
8. Color Palette
- InpGroup8 (Default: "=== 8. COLOR PALETTE ==="): Section divider for color inputs.
- InpColBg (Default: C'18,22,28'): Main panel background color.
- InpColHead (Default: C'32,38,48'): Panel header and button background color.
- InpColRow (Default: C'24,28,36'): Even table row background color.
- InpColRow2 (Default: C'28,33,42'): Odd table row background color.
- InpColText (Default: C'220,225,230'): Primary dashboard text color.
- InpColBull (Default: C'0,200,83'): Bullish BUY badge text color.
- InpColBear (Default: C'255,82,82'): Bearish SELL badge text color.
- InpColMute (Default: C'120,128,140'): Muted status and inactive text color.
- InpColAccent (Default: C'41,98,255'): Brand title, active sort indicator, and OPEN button text color.
- InpColArrowBuy (Default: C'0,230,118'): Buy arrow color on chart.
- InpColArrowSell (Default: C'255,82,82'): Sell arrow color on chart.
- InpColEntry (Default: C'41,98,255'): Entry line and label color on chart.
- InpColSL (Default: C'255,82,82'): Stop Loss line, label, and table column color.
- InpColTP1 (Default: C'0,200,83'): Take Profit 1 line, label, and table column color.
- InpColTP2 (Default: C'0,230,118'): Take Profit 2 line, label, and table column color.
9. Modular Confirmation Filter Suite (15 Filter Modules)
- InpFilter1 (Default: "=== 1. RSI CROSS FILTER ==="): Section header for RSI crossover filter.
- Use_RSI_Cross_Filter (Default: false): Enables RSI oversold/overbought crossover confirmation.
- RSI_Length (Default: 14): RSI averaging period (bars).
- RSI_Price_Source (Default: PRICE_CLOSE): Applied price source for RSI.
- RSI_Oversold (Default: 30.0): Lower RSI threshold for bullish crossover.
- RSI_Overbought (Default: 70.0): Upper RSI threshold for bearish crossover.
- InpFilter2 (Default: "=== 2. ADX FILTER ==="): Section header for ADX trend filter.
- Use_ADX_Filter (Default: false): Enables ADX minimum trend strength filter.
- ADX_Period (Default: 10): ADX main line period (bars).
- ADX_Min_Level (Default: 20.0): Minimum ADX value required to pass.
- InpFilter3 (Default: "=== 3. SINGLE MA FILTER ==="): Section header for secondary MA filter.
- Use_MA_Filter (Default: false): Enables price-versus-MA directional filter.
- MA_Period (Default: 50): Secondary MA period (bars).
- MA_Method (Default: MODE_SMA): Secondary MA smoothing method.
- MA_Shift (Default: 0): Secondary MA bar shift (bars).
- InpFilter4 (Default: "=== 4. ICHIMOKU SENKOU SPAN B FILTER ==="): Section header for Ichimoku filter.
- Use_Ichimoku_Filter (Default: false): Enables price alignment relative to Ichimoku Senkou Span B.
- Ichimoku_Tenkan (Default: 9): Tenkan-sen conversion period (bars).
- Ichimoku_Kijun (Default: 26): Kijun-sen base period (bars).
- Ichimoku_SenkouB (Default: 52): Senkou Span B leading span period (bars).
- InpFilter5 (Default: "=== 5. RSI 75 FILTER ==="): Section header for macro RSI midpoint filter.
- Use_RSI75_Filter (Default: false): Enables long-period RSI 50-level trend bias filter.
- RSI_Filter_Period (Default: 75): Macro RSI filter period (bars).
- InpFilter6 (Default: "=== 6. DOUBLE MA FILTER ==="): Section header for dual MA filter.
- Use_DoubleMA_Filter (Default: false): Enables fast-versus-slow MA trend alignment.
- MA_A_Period (Default: 30): Fast MA A period (bars).
- MA_A_Method (Default: MODE_EMA): Fast MA A smoothing method.
- MA_A_Applied (Default: PRICE_CLOSE): Fast MA A price source.
- MA_A_Shift (Default: 0): Fast MA A bar shift (bars).
- MA_B_Period (Default: 140): Slow MA B period (bars).
- MA_B_Method (Default: MODE_EMA): Slow MA B smoothing method.
- MA_B_Applied (Default: PRICE_CLOSE): Slow MA B price source.
- MA_B_Shift (Default: 0): Slow MA B bar shift (bars).
- InpFilter7 (Default: "=== 7. AWESOME OSCILLATOR FILTER ==="): Section header for Awesome Oscillator filter.
- Use_AO_Filter (Default: false): Enables Awesome Oscillator momentum confirmation.
- Use_AO_Volume_Filter (Default: false): Enables minimum AO amplitude threshold checks.
- AO_Buy_Min (Default: 4.0): Minimum positive AO threshold for bullish confirmation.
- AO_Sell_Max (Default: -4.0): Maximum negative AO threshold for bearish confirmation.
- Use_AO_Color_Filter (Default: false): Requires bar-over-bar AO histogram slope to match signal direction.
- Use_AO_Zero_Filter (Default: false): Requires AO position relative to zero line with matching slope.
- InpFilter8 (Default: "=== 8. PARABOLIC SAR FILTER ==="): Section header for Parabolic SAR filter.
- Use_SAR_Filter (Default: false): Enables Parabolic SAR dot validation relative to price.
- SAR_Step (Default: 0.02): Acceleration factor step increment for Parabolic SAR.
- SAR_Maximum (Default: 0.2): Maximum acceleration factor cap for Parabolic SAR.
- InpFilter9 (Default: "=== 9. HEIKEN ASHI FILTER ==="): Section header for Heiken Ashi filter.
- Use_HeikenAshi_Filter (Default: false): Enables smoothed Heiken Ashi candle body polarity confirmation.
- InpFilter10 (Default: "=== 10. CCI TREND FILTER ==="): Section header for CCI zero-line filter.
- Use_CCI_Filter (Default: false): Enables CCI zero-level directional filter.
- CCI_Period (Default: 50): Trend CCI calculation period (bars).
- CCI_Applied (Default: PRICE_CLOSE): Trend CCI applied price source.
- InpFilter11 (Default: "=== 11. CCI OB & OS FILTER ==="): Section header for CCI momentum filter.
- Use_CCI_OBOS_Filter (Default: false): Enables CCI overbought/oversold breakout confirmation.
- CCI_OBOS_Period (Default: 14): Overbought/Oversold CCI period (bars).
- CCI_OBOS_Applied (Default: PRICE_CLOSE): Overbought/Oversold CCI price source.
- CCI_Overbought (Default: 100.0): Upper CCI level for bullish confirmation.
- CCI_Oversold (Default: -100.0): Lower CCI level for bearish confirmation.
- InpFilter12 (Default: "=== 12. RVI FILTERS ==="): Section header for Relative Vigor Index filters.
- Use_RVI_Filter (Default: false): Enables RVI main line zero-level polarity filter.
- RVI_Period (Default: 75): RVI zero-level trend filter period (bars).
- Use_RVI_Signal_Filter (Default: false): Enables RVI main-versus-signal line alignment filter.
- RVI_Signal_Period (Default: 20): RVI signal crossover filter period (bars).
- InpFilter13 (Default: "=== 13. MACD FILTERS ==="): Section header for MACD filters.
- Use_MACD_Filter (Default: false): Enables MACD histogram polarity confirmation (main minus signal).
- MACD_FastEMA (Default: 12): Fast EMA period for MACD (bars).
- MACD_SlowEMA (Default: 26): Slow EMA period for MACD (bars).
- MACD_SignalSMA (Default: 9): Signal line SMA period for MACD (bars).
- MACD_Applied (Default: PRICE_CLOSE): Applied price source for MACD.
- Use_MACD_Zero_Filter (Default: false): Enables MACD main line zero-level directional filter.
- InpFilter14 (Default: "=== 14. SR & FIBONACCI FILTERS ==="): Section header for SR and Fibonacci filters.
- Use_SR_Filter (Default: false): Enables proximity validation near swing Support or Resistance levels.
- SR_Period (Default: 50): Lookback window for swing low support and swing high resistance (bars).
- SR_Zone_Points (Default: 80): Tolerance buffer around Support and Resistance levels (points).
- Use_Fib_Filter (Default: false): Enables Fibonacci retracement zone validation between two levels.
- Fib_Level_1 (Default: 0.382): First Fibonacci retracement ratio boundary.
- Fib_Level_2 (Default: 0.618): Second Fibonacci retracement ratio boundary.
- ZigZag_Depth (Default: 12): Minimum bar depth for swing high/low pivot detection (bars).
- ZigZag_Deviation (Default: 5): Minimum price deviation for swing pivot validation (points).
- ZigZag_Backstep (Default: 3): Minimum bar distance between consecutive swing pivots (bars).
- InpFilter15 (Default: "=== 15. SUPERTREND FILTER ==="): Section header for Supertrend filter.
- Use_Supertrend_Filter (Default: false): Enables ATR-based Supertrend directional regime alignment.
- ST_AtrPeriod (Default: 10): Wilder ATR period for Supertrend band calculation (bars).
- ST_Factor (Default: 3.0): Multiplier factor applied to ATR for Supertrend band width.
Risk Disclaimer
Trading foreign exchange, commodities, indices, and other financial instruments involves significant risk of loss and may not be suitable for all investors. Past performance or historical signal behavior does not guarantee future results. This software is an analytical and operational tool designed solely to assist traders in technical chart analysis; it does not provide investment advice and does not guarantee financial profit. Always test the product thoroughly on a demo account to understand its operational behavior before deploying it in live trading environments.
