Fractal Breakout Scanner Multi Pair TF Dashboard
- Indicatori
- Versione: 1.0
- Attivazioni: 5
Fractal Breakout Scanner Multi Pair Timeframe Dashboard
Overview
Fractal Breakout Scanner Dashboard is a technical analysis indicator and multi-symbol, multi-timeframe scanning utility designed for MetaTrader 4. The tool monitors multiple currency pairs, commodities, and indices simultaneously to detect price breakouts beyond confirmed Bill Williams Fractal swing highs and swing lows. Rather than requiring manual chart switching across dozens of instruments, the indicator aggregates real-time breakout signals into an interactive on-chart table, complete with ATR-based Stop Loss (SL) and Risk-to-Reward Take Profit (TP) level projections, modular technical trend filters, and multi-channel alert notifications.
Operating Principle and Signal Logic
The indicator evaluates historical and closed price bars across user-defined symbols and timeframes using a structured multi-stage analytical workflow:
- Swing Level Identification: The algorithm scans historical price action to locate valid swing highs and swing lows based on the standard fractal bar symmetry parameter (equal number of lower highs or higher lows on both sides of the central peak or trough). Once confirmed after the right-hand bars close, the fractal level becomes an active structural reference point.
- Dual Breakout Detection Modes: The scanner monitors subsequent price candles for a decisive candle close beyond the active fractal level. Users can enable Wick Breakout mode (candle closes beyond the extreme high or low shadow of the fractal bar), Body Breakout mode (candle closes beyond the open or close body price of the fractal bar), or both simultaneously.
- Modular Multi-Filter Validation: When a price breakout occurs, the candidate signal is passed through the integrated multi-filter validation suite. Up to 15 distinct technical filter modules (including trend, momentum, volatility, moving averages, oscillators, support/resistance, and Fibonacci zones) can be toggled independently. A signal is validated only when all active filters align with the breakout direction.
- Volatility-Based Risk Calculation: Upon signal validation, the engine queries the Average True Range (ATR) on the corresponding symbol and timeframe to compute dynamic SL distance, along with two proportional TP targets (TP1 and TP2) based on configurable Risk-to-Reward ratios.
- Repainting and Signal Validity Behavior: All breakout evaluations and filter checks are performed strictly on closed candles (Bar 1 and earlier) once a fractal pattern has completed its right-side confirmation bars. Consequently, once a signal is generated and displayed on the dashboard or chart, it does not repaint, shift, or disappear on subsequent ticks. Because fractal confirmation inherently requires waiting for the configured right-hand bars to close, signals appear after confirmation rather than during the formation of the fractal peak itself.
Entry and Exit Level Scenarios
- Bullish Signal Scenario (BUY): Generated when an active fractal resistance level (wick high or body high) is broken upward by a confirmed candle close above that level, provided the directional filter allows bullish signals and every enabled technical filter confirms upward momentum or trend alignment. The dashboard calculates Entry at the breakout candle close price, SL below Entry by the ATR multiplier distance, and TP1/TP2 above Entry according to the configured Risk-to-Reward ratios.
- Bearish Signal Scenario (SELL): Generated when an active fractal support level (wick low or body low) is broken downward by a confirmed candle close below that level, provided the directional filter allows bearish signals and every enabled technical filter confirms downward momentum or trend alignment. The dashboard calculates Entry at the breakout candle close price, SL above Entry by the ATR multiplier distance, and TP1/TP2 below Entry according to the configured Risk-to-Reward ratios.
- Signal Invalidation and Exit Reference: Once a fractal level is broken and triggers a signal, that specific level is deactivated to prevent duplicate alerts on the same structure until a new fractal forms. Traders may use the plotted TP1 and TP2 lines as partial or full profit-taking references, and the SL line as technical invalidation.
Key Technical Features
- Multi-Symbol and Multi-Timeframe Matrix: Scans up to the maximum configured number of Market Watch symbols or a custom comma-separated symbol list across multiple timeframes (M1 through MN1) in a single chart window.
- Interactive Sortable Dashboard UI: Displays Pair, Timeframe, Direction (BUY/SELL), Signal Timestamp, Entry Price, SL, TP1, TP2, Breakout Type (Wick or Body), Signal Age, and a one-click OPEN button. Clicking column headers sorts rows dynamically by Pair, Timeframe, Direction, or Time.
- Draggable and Minimizable Panel: The interface can be dragged anywhere on the chart via its title bar, scaled proportionally for high-DPI monitors, cleared from view, or collapsed into a compact header bar with persistent state memory across timeframe changes.
- Automated Chart Pattern Plotting: Displays directional Wingdings arrows and horizontal ray-limited trend lines with price labels for Entry, SL, TP1, and TP2 on the active chart, and switches symbols/timeframes automatically when clicking OPEN on any dashboard row.
- Comprehensive 15-Module Filter Suite: Includes optional confluence filters for RSI Cross, ADX Trend Strength, Single Moving Average, Ichimoku Senkou Span B, Long-Period RSI, Double Moving Average Crossover, Awesome Oscillator (Volume, Color, Zero-line), Parabolic SAR, Heiken Ashi Candle Direction, CCI Trend, CCI Overbought/Oversold, RVI Trend and Signal Cross, MACD Histogram and Zero-line, Support/Resistance Proximity, Fibonacci Retracement Zones, and Supertrend.
- Multi-Channel Notification System: Supports MetaTrader pop-up alerts, custom WAV sound alerts, mobile Push notifications via MetaQuotes ID, and SMTP email alerts with full trade level details.
Operation and Setup Recommendations
- Recommended Instruments: Suitable for major and minor Forex pairs (such as EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, USDCHF, NZDUSD, EURJPY, GBPJPY), precious metals (XAUUSD), and liquid indices. Ensure all desired symbols are visible in the MT4 Market Watch window prior to attaching the indicator.
- Recommended Timeframes: Operational across all standard MT4 timeframes. M5 and M15 are suited for intraday momentum breakouts; M30, H1, and H4 are suited for swing structure breakouts with reduced market noise.
- Account and Execution Environment: Compatible with standard, ECN, and raw-spread MT4 accounts (both Hedging and Netting accounting systems). For instruments with wider spreads, consider adjusting the ATR Stop Loss multiplier and Support/Resistance zone tolerances accordingly.
- CPU and Memory Efficiency Note: Scanning numerous symbols across multiple timeframes simultaneously requires historical bar data for each pair/timeframe combination. To maintain smooth terminal performance on standard hardware, limit active symbols to 10-20 pairs, keep analyzed bars within 120-200 bars, and avoid running multiple heavy dashboard instances on the same terminal simultaneously.
Dashboard Interface Guide
- Green Text / Green Arrow (BUY): Indicates a confirmed bullish fractal breakout where all enabled filters align with upward price movement.
- Red Text / Red Arrow (SELL): Indicates a confirmed bearish fractal breakout where all enabled filters align with downward price movement.
- Blue Dotted Line (Entry): Marks the exact closing price of the breakout candle where the signal was triggered.
- Red Dashed Line (SL): Marks the volatility-adjusted Stop Loss price calculated from the ATR period and multiplier.
- Green Dashed Lines (TP1 / TP2): Mark the projected Take Profit targets calculated from the Stop Loss distance multiplied by the TP1 and TP2 Risk-to-Reward factors.
- OPEN Button: Switches the current chart symbol and timeframe directly to the selected signal and draws its Entry, SL, and TP levels.
- REFRESH / CLEAR / MIN Buttons: Force an immediate rescan of all symbols, remove dashboard objects from the chart, or minimize/maximize the panel window.
Input Parameters Documentation
Scanner Settings
- InpSecScanner (Default: "=== SCANNER SETTINGS ===") -> Visual section header for scanner configuration.
- InpSymbols (Default: "EURUSD,GBPUSD,USDJPY,AUDUSD,USDCAD,USDCHF,NZDUSD,EURJPY,GBPJPY,XAUUSD") -> Comma-separated list of trading symbols to scan when Market Watch mode is disabled.
- InpTimeframes (Default: "M5,M15,M30,H1,H4") -> Comma-separated list of timeframes to scan (supports M1, M5, M15, M30, H1, H4, D1, W1, MN1).
- InpUseWatch (Default: true) -> When true, automatically loads symbols from the MT4 Market Watch window instead of InpSymbols.
- InpMaxSymbols (Default: 10) -> Maximum number of symbols processed simultaneously to manage CPU load (count).
- InpScanSec (Default: 5) -> Interval between automatic multi-pair scan cycles (seconds).
- InpBarsCopy (Default: 120) -> Number of historical bars copied per symbol and timeframe for calculation; minimum 100 recommended (bars).
- InpLookback (Default: 60) -> Maximum number of recent bars searched to display the latest valid breakout signal (bars).
- InpDirection (Default: 0) -> Directional filter mode: 0 scans both Buy and Sell signals, 1 scans Buy only, 2 scans Sell only.
Fractal Breakout Settings
- InpSecFractal (Default: "=== FRACTAL BREAKOUT SETTINGS ===") -> Visual section header for fractal logic parameters.
- InpEnableSignal1 (Default: true) -> Enables Signal Type 1 (Wick Breakout), triggered when a candle closes beyond the fractal high or low shadow.
- InpEnableSignal2 (Default: true) -> Enables Signal Type 2 (Body Breakout), triggered when a candle closes beyond the fractal open or close body.
- InpFractalBars (Default: 2) -> Number of bars required on both left and right sides to confirm a fractal peak or trough (bars).
ATR SL and TP Settings
- InpSecATR (Default: "=== ATR SL & TP SETTINGS ===") -> Visual section header for volatility risk levels.
- InpATRPeriod (Default: 14) -> Lookback period for Average True Range calculation (bars).
- InpATRMultSL (Default: 1.5) -> Multiplier applied to the ATR value to determine Stop Loss distance from Entry (multiplier).
- InpTP1_RR (Default: 1.0) -> Risk-to-Reward multiplier for Take Profit 1 relative to Stop Loss distance (ratio).
- InpTP2_RR (Default: 2.0) -> Risk-to-Reward multiplier for Take Profit 2 relative to Stop Loss distance (ratio).
Modular Filter Suite Parameters
- InpFilter1 (Default: "=== 1. RSI CROSS FILTER ===") -> Visual section header for RSI Cross module.
- Use_RSI_Cross_Filter (Default: false) -> Enables filtering by RSI crossing out of oversold/overbought zones.
- RSI_Length (Default: 14) -> Calculation period for the RSI Cross indicator (bars).
- RSI_Price_Source (Default: PRICE_CLOSE) -> Applied price type for RSI calculation.
- RSI_Oversold (Default: 30.0) -> Lower RSI threshold for bullish cross validation (level).
- RSI_Overbought (Default: 70.0) -> Upper RSI threshold for bearish cross validation (level).
- InpFilter2 (Default: "=== 2. ADX FILTER ===") -> Visual section header for ADX trend strength module.
- Use_ADX_Filter (Default: false) -> Enables minimum trend strength filtering via Average Directional Index.
- ADX_Period (Default: 10) -> Calculation period for the ADX indicator (bars).
- ADX_Min_Level (Default: 20.0) -> Minimum ADX main line value required to validate a breakout (level).
- InpFilter3 (Default: "=== 3. SINGLE MA FILTER ===") -> Visual section header for Single Moving Average module.
- Use_MA_Filter (Default: false) -> Enables price position filtering relative to a single Moving Average.
- MA_Period (Default: 50) -> Averaging period for the Single MA filter (bars).
- MA_Method (Default: MODE_SMA) -> Smoothing method for the Single MA (SMA, EMA, SMMA, LWMA).
- MA_Shift (Default: 0) -> Horizontal bar shift for the Single MA (bars).
- InpFilter4 (Default: "=== 4. ICHIMOKU SENKOU SPAN B FILTER ===") -> Visual section header for Ichimoku module.
- Use_Ichimoku_Filter (Default: false) -> Enables filtering based on price closing above or below Ichimoku Senkou Span B.
- Ichimoku_Tenkan (Default: 9) -> Tenkan-sen calculation period (bars).
- Ichimoku_Kijun (Default: 26) -> Kijun-sen calculation period (bars).
- Ichimoku_SenkouB (Default: 52) -> Senkou Span B calculation period (bars).
- InpFilter5 (Default: "=== 5. RSI 75 FILTER ===") -> Visual section header for long-period RSI module.
- Use_RSI75_Filter (Default: false) -> Enables trend bias filtering using a long-period RSI relative to the 50 midpoint.
- RSI_Filter_Period (Default: 75) -> Calculation period for the trend RSI filter (bars).
- InpFilter6 (Default: "=== 6. DOUBLE MA FILTER ===") -> Visual section header for Double Moving Average module.
- Use_DoubleMA_Filter (Default: false) -> Enables fast vs. slow Moving Average alignment filtering.
- MA_A_Period (Default: 30) -> Period for the fast Moving Average A (bars).
- MA_A_Method (Default: MODE_EMA) -> Smoothing method for Moving Average A.
- MA_A_Applied (Default: PRICE_CLOSE) -> Applied price for Moving Average A.
- MA_A_Shift (Default: 0) -> Horizontal shift for Moving Average A (bars).
- MA_B_Period (Default: 140) -> Period for the slow Moving Average B (bars).
- MA_B_Method (Default: MODE_EMA) -> Smoothing method for Moving Average B.
- MA_B_Applied (Default: PRICE_CLOSE) -> Applied price for Moving Average B.
- MA_B_Shift (Default: 0) -> Horizontal shift for Moving Average B (bars).
- InpFilter7 (Default: "=== 7. AWESOME OSCILLATOR FILTER ===") -> Visual section header for Awesome Oscillator module.
- Use_AO_Filter (Default: false) -> Master switch for Awesome Oscillator momentum filtering.
- Use_AO_Volume_Filter (Default: false) -> Requires AO value to exceed minimum positive or negative thresholds.
- AO_Buy_Min (Default: 4.0) -> Minimum AO value required for Buy validation (value).
- AO_Sell_Max (Default: -4.0) -> Maximum AO value required for Sell validation (value).
- Use_AO_Color_Filter (Default: false) -> Requires AO histogram slope to match signal direction.
- Use_AO_Zero_Filter (Default: false) -> Requires AO to be above zero for Buy and below zero for Sell with aligned slope.
- InpFilter8 (Default: "=== 8. PARABOLIC SAR FILTER ===") -> Visual section header for Parabolic SAR module.
- Use_SAR_Filter (Default: false) -> Enables trend filtering using Parabolic SAR dot placement relative to close price.
- SAR_Step (Default: 0.02) -> Acceleration factor step increment for Parabolic SAR (step).
- SAR_Maximum (Default: 0.2) -> Maximum acceleration factor limit for Parabolic SAR (max).
- InpFilter9 (Default: "=== 9. HEIKEN ASHI FILTER ===") -> Visual section header for Heiken Ashi module.
- Use_HeikenAshi_Filter (Default: false) -> Requires smoothed Heiken Ashi candle color (bullish/bearish) to match breakout direction.
- InpFilter10 (Default: "=== 10. CCI TREND FILTER ===") -> Visual section header for CCI zero-line module.
- Use_CCI_Filter (Default: false) -> Enables Commodity Channel Index filtering relative to the zero line.
- CCI_Period (Default: 50) -> Calculation period for the CCI Trend filter (bars).
- CCI_Applied (Default: PRICE_CLOSE) -> Applied price type for the CCI Trend filter.
- InpFilter11 (Default: "=== 11. CCI OB & OS FILTER ===") -> Visual section header for CCI momentum extremes module.
- Use_CCI_OBOS_Filter (Default: false) -> Enables CCI momentum breakout filtering beyond overbought/oversold levels.
- CCI_OBOS_Period (Default: 14) -> Calculation period for the CCI OB/OS filter (bars).
- CCI_OBOS_Applied (Default: PRICE_CLOSE) -> Applied price type for the CCI OB/OS filter.
- CCI_Overbought (Default: 100.0) -> Upper CCI level threshold for bullish momentum confirmation (level).
- CCI_Oversold (Default: -100.0) -> Lower CCI level threshold for bearish momentum confirmation (level).
- InpFilter12 (Default: "=== 12. RVI FILTERS ===") -> Visual section header for Relative Vigor Index module.
- Use_RVI_Filter (Default: false) -> Enables RVI main line filtering relative to the zero level.
- RVI_Period (Default: 75) -> Calculation period for the RVI Trend filter (bars).
- Use_RVI_Signal_Filter (Default: false) -> Enables RVI main line vs. signal line crossover alignment.
- RVI_Signal_Period (Default: 20) -> Calculation period for the RVI Signal Cross filter (bars).
- InpFilter13 (Default: "=== 13. MACD FILTERS ===") -> Visual section header for MACD module.
- Use_MACD_Filter (Default: false) -> Enables MACD histogram polarity filtering (main line vs. signal line).
- MACD_FastEMA (Default: 12) -> Fast EMA period for MACD calculation (bars).
- MACD_SlowEMA (Default: 26) -> Slow EMA period for MACD calculation (bars).
- MACD_SignalSMA (Default: 9) -> Signal line SMA period for MACD calculation (bars).
- MACD_Applied (Default: PRICE_CLOSE) -> Applied price type for MACD calculation.
- Use_MACD_Zero_Filter (Default: false) -> Requires MACD main line to be above zero for Buy or below zero for Sell.
- InpFilter14 (Default: "=== 14. SR & FIBONACCI FILTERS ===") -> Visual section header for price structure module.
- Use_SR_Filter (Default: false) -> Enables proximity validation near recent Support or Resistance swing levels.
- SR_Period (Default: 50) -> Lookback bars used to identify local Support and Resistance highs/lows (bars).
- SR_Zone_Points (Default: 80) -> Tolerance buffer around Support/Resistance levels (points).
- Use_Fib_Filter (Default: false) -> Enables validation when price interacts with Fibonacci retracement zones.
- Fib_Level_1 (Default: 0.382) -> First Fibonacci retracement ratio boundary (ratio).
- Fib_Level_2 (Default: 0.618) -> Second Fibonacci retracement ratio boundary (ratio).
- ZigZag_Depth (Default: 12) -> Swing search depth for Fibonacci anchor points (bars).
- ZigZag_Deviation (Default: 5) -> Minimum price deviation for ZigZag swing detection (points).
- ZigZag_Backstep (Default: 3) -> Minimum bar separation between consecutive ZigZag swings (bars).
- InpFilter15 (Default: "=== 15. SUPERTREND FILTER ===") -> Visual section header for Supertrend module.
- Use_Supertrend_Filter (Default: false) -> Enables ATR-based Supertrend directional trend filtering.
- ST_AtrPeriod (Default: 10) -> Wilder ATR calculation length for Supertrend bands (bars).
- ST_Factor (Default: 3.0) -> ATR band multiplier factor for Supertrend calculation (multiplier).
Alerts and Notifications
- InpSecAlerts (Default: "=== ALERTS & NOTIFICATIONS ===") -> Visual section header for alert parameters.
- InpAlertPopup (Default: false) -> Enables MT4 terminal pop-up alert window when a signal triggers.
- InpAlertSound (Default: false) -> Enables audible alert playback when a signal triggers.
- InpSoundFile (Default: "alert.wav") -> Name of the audio file located in the MT4 Sounds folder.
- InpAlertPush (Default: false) -> Sends push notifications to the MetaTrader mobile app.
- InpAlertEmail (Default: false) -> Sends signal notifications via configured MT4 SMTP email.
- InpEmailSubject (Default: "Fractal Breakout Signal") -> Custom subject line prefix for email notifications.
- InpAlertOnlyNew (Default: false) -> Restricts alerts strictly to signals newer than the previously alerted timestamp.
Dashboard Display and Layout
- InpSecDash (Default: "=== DASHBOARD DISPLAY ===") -> Visual section header for UI layout parameters.
- InpX (Default: 15) -> Initial horizontal X-coordinate of the dashboard from the upper-left corner (pixels).
- InpY (Default: 25) -> Initial vertical Y-coordinate of the dashboard from the upper-left corner (pixels).
- InpScale (Default: 100) -> Global interface scaling percentage from 70 to 150 (percent).
- InpRowH (Default: 20) -> Height of each signal row in the dashboard table (pixels).
- InpFont (Default: 8) -> Base font size for dashboard text elements (points).
- InpPadX (Default: 8) -> Internal left and right horizontal padding inside the panel (pixels).
- InpWPair (Default: 70) -> Width of the PAIR column (pixels).
- InpWTF (Default: 36) -> Width of the TF (Timeframe) column (pixels).
- InpWArah (Default: 50) -> Width of the DIR (Direction) column (pixels).
- InpWTime (Default: 98) -> Width of the TIME column (pixels).
- InpWEntry (Default: 68) -> Width of the ENTRY price column (pixels).
- InpWSL (Default: 68) -> Width of the SL price column (pixels).
- InpWTP1 (Default: 68) -> Width of the TP1 price column (pixels).
- InpWTP2 (Default: 68) -> Width of the TP2 price column (pixels).
- InpWType (Default: 50) -> Width of the TYPE (Wick/Body) column (pixels).
- InpWUmur (Default: 42) -> Width of the AGE column (pixels).
- InpWOpen (Default: 46) -> Width of the OPEN chart button column (pixels).
- InpShowEmpty (Default: false) -> When true, displays scanned pairs/timeframes that currently have no active signal.
- InpMaxRows (Default: 18) -> Maximum number of signal rows displayed simultaneously in the table (rows).
- InpSortBy (Default: SORT_TIME) -> Default sorting column (SORT_TIME, SORT_PAIR, SORT_TF, or SORT_DIR).
- InpSortNewest (Default: true) -> When true, places the newest signals at the top of the table.
Chart Drawings and Visual Colors
- InpSecDraw (Default: "=== CHART DRAWINGS ===") -> Visual section header for on-chart graphics.
- InpDrawOnChart (Default: true) -> Enables drawing the active chart's latest breakout arrow and trade levels.
- InpShowArrow (Default: true) -> Displays directional signal arrows at the breakout candle.
- InpShowLevels (Default: true) -> Displays horizontal Entry, SL, TP1, and TP2 lines with price labels.
- InpExtendBars (Default: 30) -> Number of bars to extend Entry, SL, and TP lines to the right (bars).
- InpArrowCodeBuy (Default: 233) -> Wingdings symbol code for bullish signal arrows (code).
- InpArrowCodeSell (Default: 234) -> Wingdings symbol code for bearish signal arrows (code).
- InpArrowSize (Default: 2) -> Display width size of signal arrows (size).
- InpArrowDistance (Default: 20) -> Vertical offset distance between the signal arrow and candle price (points).
- InpSecColors (Default: "=== UI COLORS ===") -> Visual section header for color customization.
- InpColBg (Default: C'16,20,26') -> Main dashboard background color.
- InpColHead (Default: C'28,34,44') -> Dashboard header and column title bar background color.
- InpColRow (Default: C'22,26,34') -> Primary alternating row background color.
- InpColRow2 (Default: C'26,30,40') -> Secondary alternating row background color.
- InpColText (Default: C'220,225,230') -> Standard text color for symbols, timeframes, and timestamps.
- InpColBull (Default: C'0,210,120') -> Text color for BUY direction labels.
- InpColBear (Default: C'255,80,80') -> Text color for SELL direction labels.
- InpColMute (Default: C'120,130,145') -> Color for secondary status text, hints, and inactive cells.
- InpColAccent (Default: C'0,170,255') -> Accent color for dashboard title, active sort headers, and buttons.
- InpColArrowBuy (Default: C'0,230,118') -> Color of bullish Wingdings signal arrows on the chart.
- InpColArrowSell (Default: C'255,82,82') -> Color of bearish Wingdings signal arrows on the chart.
- InpColEntry (Default: C'0,170,255') -> Line and text color for the Entry level on the chart.
- InpColSL (Default: C'255,82,82') -> Line and text color for the Stop Loss level on the chart.
- InpColTP1 (Default: C'0,200,83') -> Line and text color for the Take Profit 1 level on the chart.
- InpColTP2 (Default: C'0,240,140') -> Line and text color for the Take Profit 2 level on the chart.
Risk Disclaimer
Trading foreign exchange, commodities, indices, and other financial instruments on margin carries a high level of risk and may not be suitable for all investors. Past performance, backtesting results, or historical signal patterns do not guarantee future trading outcomes. Fractal Breakout Scanner Dashboard is strictly an analytical software utility designed to assist traders in technical chart monitoring and level calculation; it does not provide financial or investment advice and does not guarantee profits. Always evaluate the indicator thoroughly on a demo account to understand its operational behavior and parameter sensitivity before applying it to live trading decisions.
