Williams percent Range WPR Scanner Dash All PairTF
- Индикаторы
- Версия: 1.1
- Активации: 5
Overview
The WPR Scanner Dashboard Pro MT5 is a comprehensive technical analysis utility and multi-symbol signal scanner designed for the MetaTrader 5 terminal. The primary objective of this tool is to monitor multiple currency pairs and timeframes simultaneously to identify potential market reversal and breakout zones based on the Williams Percent Range (WPR) oscillator. To ensure high-quality signal generation, the core WPR logic is heavily augmented by a proprietary 14-filter framework and an automated Average True Range (ATR) calculation module for dynamic Stop Loss and Take Profit level projection. This utility functions strictly as an analytical charting and tracking dashboard to assist technical traders in managing complex multi-asset observation without cluttering the workspace.
Operating Principle and Signal Logic
The core algorithm relies on the Williams Percent Range (WPR) to measure overbought and oversold market conditions. The system does not operate as a black box; the entire mathematical logic is transparent.
Buy Signal Generation: A bullish setup is initially "armed" when the WPR line drops to or below the user-defined Buy Touch Level (oversold territory). The actual Buy signal is triggered only when the WPR line breaks out and crosses above the Buy Break Level.
Sell Signal Generation: A bearish setup is "armed" when the WPR line rises to or above the Sell Touch Level (overbought territory). The actual Sell signal is triggered when the WPR line crosses down below the Sell Break Level.
Signal Validity and Repaint Behavior: All primary WPR signal calculations, moving averages, momentum oscillators, and logical checks are executed strictly on closed bars (Bar 1 and beyond). This ensures that once a signal is printed upon the close of a candle, the trigger condition is locked and will not repaint, shift, or disappear. However, if the user explicitly activates the "Fibonacci Filter" which relies on the ZigZag algorithm, users must note that ZigZag peak and trough detection evaluates dynamic swing highs and lows which can adjust to new extremes in real-time.
Dynamic Risk Projections: Upon a valid signal trigger, the software calculates operational risk levels using the Average True Range (ATR). The Stop Loss distance is determined by multiplying the current ATR value by a user-defined multiplier. Take Profit 1 and Take Profit 2 are then automatically projected using fixed Risk-to-Reward (RR) ratios based on the calculated Stop Loss distance, plotting clear operational levels directly on the chart overlay.
The 14-Tier Validation Filter Framework
To prevent premature entries during strong trending phases or flat consolidations, the generated WPR signals must pass a strict sequence of logical gates if activated by the user in the input parameters.
1. RSI Cross Filter: Evaluates momentum shifts. A buy requires the RSI to cross above the oversold threshold from the previous closed bar to the current closed bar.
2. ADX Trend Filter: Measures trend strength. Signals are only permitted if the Average Directional Movement Index is above a specified minimum threshold.
3. Single MA Filter: A baseline trend filter ensuring buy signals only occur when the closing price is above the specified Moving Average, and sell signals when below.
4. Ichimoku Senkou Span B Filter: Utilizes the long-term equilibrium cloud line. Buy signals require price to be above Senkou Span B; sell signals require price below it.
5. RSI 75 Filter: A long-term relative strength baseline validating the macro trend bias (above 50 for bulls, below 50 for bears).
6. Double MA Filter: Evaluates short-term versus long-term momentum via Moving Average crossovers (Fast MA > Slow MA for buys).
7. Awesome Oscillator Filter: Analyzes market driving force via zero-line crossovers, color changes, and specific volume threshold minimums/maximums.
8. Parabolic SAR Filter: Validates the immediate trailing price action direction.
9. Heiken Ashi Filter: Re-calculates standard OHLC data into averaged Heiken Ashi synthetic candles, ensuring the synthetic close is favorable to the signal direction.
10. CCI Trend Filter: Validates the macro cycle. Buy signals require a positive Commodity Channel Index value.
11. CCI OB/OS Filter: Rejects signals unless the CCI confirms extreme exhaustion beyond the overbought/oversold boundaries.
12. RVI Trend Filter: Confirms the underlying trend vigor using the Relative Vigor Index baseline.
13. MACD Filters (Histogram & Zero Line): Validates momentum using the Moving Average Convergence Divergence main line relative to the signal line or the zero baseline.
14. Price Action Filters (Support/Resistance & Fibonacci): The SR filter dynamically calculates recent extreme highs and lows within a defined period, requiring price to be interacting with these zones. The Fibonacci filter utilizes a ZigZag engine to plot retracement levels, passing signals only if the price action is rejecting the specified Fibonacci ratios.
Key Features
- Automated multi-symbol and multi-timeframe scanning engine operating entirely from a single chart window.
- Fully interactive graphical user interface (GUI) dashboard with draggable positioning, minimization capabilities, and multi-column sorting (Pair, Timeframe, Direction, Time).
- One-click chart switching: Clicking the 'OPEN' button on any dashboard row instantly changes the active chart to the signal's specific symbol and timeframe.
- Automatic chart overlay drawing: Projects the exact Entry, Stop Loss, Take Profit 1, and Take Profit 2 levels on the chart using trend lines and text labels.
- Resource-efficient memory management allowing the user to limit the number of bars processed and the frequency of scanning intervals.
Operation and Setup Recommendations
Recommended Instruments: This utility can be applied to all highly liquid financial instruments including Major Forex pairs (EURUSD, GBPUSD, USDJPY), Minors, and Commodities (XAUUSD). Users are advised to evaluate the typical spread characteristics of their broker before enabling minor pairs.
Recommended Timeframes: The algorithm supports all standard timeframes. For intraday operations, M15, M30, and H1 are recommended. For swing analysis, H4 and D1 are optimal.
Account Environment: Standard, ECN, or Raw Spread accounts are supported. Both Hedging and Netting account structures are compatible as this is an analytical tool, not an automated trade executor.
Hardware Considerations: Dashboard scanners require CPU resources to process multiple data arrays. If operating on lower-end hardware, restrict the "InpMaxSymbols" parameter and increase the "InpScanSec" interval to reduce terminal computational load.
Input Parameters List
[Scanner Settings]
InpSymbols (Default: EURUSD,GBPUSD,USDJPY,AUDUSD,USDCAD,USDCHF,NZDUSD,EURJPY,GBPJPY,XAUUSD) -> Comma-separated list of market symbols to scan. Leave blank to use Market Watch.
InpTimeframes (Default: M5,M15,M30,H1,H4) -> Comma-separated list of timeframes to monitor.
InpUseWatch (Default: true) -> Enable to ignore InpSymbols and automatically scan all pairs visible in the MT5 Market Watch window.
InpMaxSymbols (Default: 10) -> Maximum number of concurrent symbols the dashboard is allowed to load into memory.
InpScanSec (Default: 7) -> The time interval in seconds between each complete market scan cycle.
InpBarsCopy (Default: 120) -> The depth of historical bars retrieved from the server per timeframe for calculation.
InpLookback (Default: 100) -> The maximum number of past bars the scanner will search to locate the most recent valid signal.
InpDirection (Default: 0) -> Signal direction filter: 0=Both Buy and Sell, 1=Buy Only, 2=Sell Only.
[WPR Settings]
InpWPRPeriod (Default: 14) -> The calculation period for the Williams Percent Range oscillator.
InpBuyTouchLevel (Default: -80.0) -> The WPR value threshold required to arm a bullish setup.
InpBuyBreakLevel (Default: -55.0) -> The WPR value threshold that must be broken upwards to trigger a Buy signal.
InpSellTouchLevel (Default: -20.0) -> The WPR value threshold required to arm a bearish setup.
InpSellBreakLevel (Default: -45.0) -> The WPR value threshold that must be broken downwards to trigger a Sell signal.
[ATR SL & TP Settings]
InpATRPeriod (Default: 14) -> The number of bars used to calculate the Average True Range for risk projection.
InpATRMultSL (Default: 1.5) -> The multiplier applied to the ATR value to calculate the Stop Loss distance in points.
InpTP1_RR (Default: 1.0) -> Risk-to-Reward ratio for Take Profit 1 (e.g., 1.0 means TP distance equals SL distance).
InpTP2_RR (Default: 2.0) -> Risk-to-Reward ratio for Take Profit 2 (e.g., 2.0 means TP distance is twice the SL distance).
[RSI Cross Filter]
Use_RSI_Cross_Filter (Default: false) -> Enable or disable the RSI crossover momentum filter.
RSI_Length (Default: 14) -> The calculation period for the Relative Strength Index.
RSI_Price_Source (Default: PRICE_CLOSE) -> The applied price data used for RSI calculation.
Oversold (Default: 30.0) -> The lower RSI boundary limit.
Overbought (Default: 70.0) -> The upper RSI boundary limit.
[ADX Filter]
Use_ADX_Filter (Default: false) -> Enable or disable the Average Directional Index trend strength filter.
ADX_Period (Default: 10) -> The calculation period for the ADX indicator.
ADX_Min_Level (Default: 20.0) -> The minimum ADX main line value required to permit a signal.
[Single MA Filter]
Use_MA_Filter (Default: false) -> Enable or disable the single Moving Average baseline filter.
MA_Period (Default: 50) -> The number of bars for the MA calculation.
MA_Method (Default: MODE_SMA) -> The smoothing method (Simple, Exponential, Smoothed, Linear Weighted).
MA_Applied (Default: PRICE_CLOSE) -> The applied price for the MA calculation.
MA_Shift (Default: 0) -> The horizontal bar shift offset for the MA.
[Ichimoku Senkou Span B Filter]
Use_Ichimoku_Filter (Default: false) -> Enable or disable the Ichimoku cloud equilibrium filter.
Ichimoku_SenkouB (Default: 52) -> The period setting for the Senkou Span B line calculation.
Ichimoku_Kijun (Default: 26) -> The period setting for the Kijun-sen baseline.
[RSI 75 Filter]
Use_RSI75_Filter (Default: false) -> Enable or disable the secondary long-term RSI trend filter.
RSI_Filter_Period (Default: 75) -> The extended calculation period for this specific RSI instance.
RSI_Filter_Price (Default: PRICE_CLOSE) -> Applied price for the RSI 75 calculation.
[Double MA Filter]
Use_DoubleMA_Filter (Default: true) -> Enable or disable the dual Moving Average crossover filter.
MA_A_Period (Default: 9) -> The calculation period for the Fast Moving Average.
MA_A_Method (Default: MODE_EMA) -> The smoothing method for the Fast MA.
MA_A_Applied (Default: PRICE_CLOSE) -> The applied price for the Fast MA.
MA_A_Shift (Default: 0) -> The bar shift offset for the Fast MA.
MA_B_Period (Default: 50) -> The calculation period for the Slow Moving Average.
MA_B_Method (Default: MODE_EMA) -> The smoothing method for the Slow MA.
MA_B_Applied (Default: PRICE_CLOSE) -> The applied price for the Slow MA.
MA_B_Shift (Default: 0) -> The bar shift offset for the Slow MA.
[Awesome Oscillator Filter]
Use_AO_Filter (Default: false) -> Enable or disable the Bill Williams Awesome Oscillator filter.
Use_AO_Volume_Filter (Default: false) -> Enable to restrict signals based on specific AO histogram extreme values.
AO_Buy_Min (Default: 4.0) -> Minimum positive histogram value required for buys.
AO_Sell_Max (Default: -4.0) -> Maximum negative histogram value required for sells.
Use_AO_Color_Filter (Default: false) -> Enable to require the AO histogram color to align with the signal direction.
Use_AO_Zero_Filter (Default: false) -> Enable to require the AO histogram to be on the correct side of the zero line.
[Parabolic SAR Filter]
Use_SAR_Filter (Default: false) -> Enable or disable the Parabolic Stop and Reverse trend filter.
SAR_Step (Default: 0.02) -> The acceleration factor step size for the SAR calculation.
SAR_Maximum (Default: 0.2) -> The maximum acceleration limit for the SAR calculation.
[Heiken Ashi Filter]
Use_HeikenAshi_Filter (Default: true) -> Enable or disable the synthetic Heiken Ashi candle filter logic.
[CCI Trend Filter]
Use_CCI_Filter (Default: false) -> Enable or disable the standard Commodity Channel Index filter.
CCI_Period (Default: 50) -> The calculation period for the CCI indicator.
CCI_Applied (Default: PRICE_CLOSE) -> The applied price used for CCI calculation.
[CCI OB & OS Filter]
Use_CCI_OBOS_Filter (Default: false) -> Enable or disable the extreme boundary Commodity Channel Index filter.
CCI_OBOS_Period (Default: 14) -> The calculation period for the extreme CCI filter.
CCI_OBOS_Applied (Default: PRICE_CLOSE) -> The applied price used for calculation.
CCI_Overbought (Default: 100.0) -> The upper extreme boundary for the CCI.
CCI_Oversold (Default: -100.0) -> The lower extreme boundary for the CCI.
[RVI Filters]
Use_RVI_Filter (Default: false) -> Enable or disable the Relative Vigor Index main line trend filter.
RVI_Period (Default: 75) -> The period for the RVI main line calculation.
Use_RVI_Signal_Filter (Default: false) -> Enable or disable the RVI main line versus signal line crossover filter.
RVI_Signal_Period (Default: 20) -> The period for the RVI signal line calculation.
[MACD Filters]
Use_MACD_Filter (Default: false) -> Enable or disable the MACD main line versus signal line histogram filter.
MACD_FastEMA (Default: 12) -> The period for the MACD fast exponential moving average.
MACD_SlowEMA (Default: 26) -> The period for the MACD slow exponential moving average.
MACD_SignalSMA (Default: 9) -> The period for the MACD signal line simple moving average.
MACD_Applied (Default: PRICE_CLOSE) -> The applied price for MACD calculations.
Use_MACD_Zero_Filter (Default: false) -> Enable or disable the MACD zero-level baseline cross filter.
[Support & Resistance Filter]
Use_SR_Filter (Default: false) -> Enable or disable the dynamic Price Action boundary filter.
SR_Period (Default: 50) -> The lookback period in bars to determine local support and resistance extremes.
SR_Zone_Points (Default: 80) -> The tolerance zone width in points around the calculated SR extremes to validate a touch.
[Fibonacci Filter]
Use_Fib_Filter (Default: false) -> Enable or disable the dynamic ZigZag-based Fibonacci retracement filter.
Fib_Level_1 (Default: 0.382) -> The primary Fibonacci retracement ratio boundary.
Fib_Level_2 (Default: 0.618) -> The secondary Fibonacci retracement ratio boundary.
ZigZag_Depth (Default: 12) -> The depth parameter for the underlying ZigZag peak/trough engine.
ZigZag_Deviation (Default: 5) -> The deviation threshold for the ZigZag engine.
ZigZag_Backstep (Default: 3) -> The backstep bar parameter for the ZigZag engine.
[Alerts & Notifications]
InpAlertPopup (Default: false) -> Enable native MetaTrader terminal pop-up window alerts.
InpAlertSound (Default: false) -> Enable audio playback upon signal detection.
InpSoundFile (Default: alert.wav) -> The filename of the wav audio to be played.
InpAlertPush (Default: false) -> Enable push notifications to the MetaTrader mobile application.
InpAlertEmail (Default: false) -> Enable email transmission of signals via terminal SMTP settings.
InpEmailSubject (Default: WPR Scanner Signal) -> The subject line format for generated email alerts.
InpAlertOnlyNew (Default: false) -> When enabled, the system restricts alerts strictly to newly formed signals to prevent repetition.
[Display & Layout]
InpX (Default: 12) -> The horizontal X-axis starting pixel coordinate for the dashboard panel.
InpY (Default: 28) -> The vertical Y-axis starting pixel coordinate for the dashboard panel.
InpScale (Default: 100) -> The graphical scaling percentage of the entire dashboard interface (acceptable range 70-160).
InpRowH (Default: 18) -> The pixel height of each individual data row inside the dashboard table.
InpFont (Default: 8) -> The base font size for the dashboard text rendering.
InpPadX (Default: 8) -> The internal pixel padding on the left side of the dashboard elements.
InpWPair (Default: 68) -> Pixel width for the Symbol Pair column.
InpWTF (Default: 34) -> Pixel width for the Timeframe column.
InpWArah (Default: 44) -> Pixel width for the Direction (Buy/Sell) column.
InpWTime (Default: 96) -> Pixel width for the Signal Time stamp column.
InpWEntry (Default: 64) -> Pixel width for the Entry Price coordinate column.
InpWSL (Default: 64) -> Pixel width for the Stop Loss coordinate column.
InpWTP1 (Default: 64) -> Pixel width for the Take Profit 1 coordinate column.
InpWTP2 (Default: 64) -> Pixel width for the Take Profit 2 coordinate column.
InpWWPR (Default: 46) -> Pixel width for the internal WPR value reading column.
InpWUmur (Default: 42) -> Pixel width for the Signal Age tracking column.
InpWOpen (Default: 44) -> Pixel width for the interactive Chart Open action button.
InpShowEmpty (Default: false) -> Enable to render rows for scanned symbols even if no valid signal is currently detected.
InpMaxRows (Default: 18) -> The absolute maximum number of signal rows visually rendered on the interface to manage screen real estate.
[Sorting Options]
InpSortBy (Default: SORT_TIME) -> Defines the default initialization sorting metric (Sort by Time, Pair, Timeframe, or Direction).
InpSortNewest (Default: true) -> Boolean toggle to position the most recently generated signals at the top of the dashboard list.
[Chart Overlay Signals]
InpDrawOnChart (Default: true) -> Enable visual rendering of trendlines and text labels on the active chart window.
InpShowArrow (Default: true) -> Enable rendering of directional Wingdings arrows at the signal entry bar.
InpShowLevels (Default: true) -> Enable plotting of horizontal dashes representing Entry, SL, TP1, and TP2 directly on the price chart.
InpExtendBars (Default: 25) -> The horizontal length in bars that the visual overlay lines will extend into the future.
InpArrowCodeBuy (Default: 233) -> The specific Wingdings character code for the bullish arrow.
InpArrowCodeSell (Default: 234) -> The specific Wingdings character code for the bearish arrow.
InpArrowSize (Default: 2) -> The graphical scaling size of the rendered directional arrows.
InpArrowDistance (Default: 20) -> The vertical distance in points from the candle high/low to place the arrow object.
[Color Theme]
InpColBg (Default: C'18,22,28') -> Base background color of the dashboard panel.
InpColHead (Default: C'32,38,48') -> Background color of the dashboard header and title area.
InpColRow (Default: C'24,28,36') -> Primary background color for alternating table rows.
InpColRow2 (Default: C'28,33,42') -> Secondary background color for alternating table rows (zebra striping).
InpColText (Default: C'220,225,230') -> Base font color for standard informational text.
InpColBull (Default: C'0,230,118') -> Font and element color associated with Bullish / Buy signals.
InpColBear (Default: C'255,82,82') -> Font and element color associated with Bearish / Sell signals.
InpColMute (Default: C'120,128,140') -> Font color used for muted, secondary, or inactive textual data.
InpColAccent (Default: C'0,200,255') -> Highlight color for interactive buttons and key data points.
InpColArrowBuy (Default: C'0,230,118') -> Specific color for the bullish chart overlay arrow.
InpColArrowSell (Default: C'255,82,82') -> Specific color for the bearish chart overlay arrow.
InpColEntry (Default: C'41,128,255') -> Color applied to the visual Entry line on the chart.
InpColSL (Default: C'255,82,82') -> Color applied to the visual Stop Loss line on the chart.
InpColTP1 (Default: C'0,200,83') -> Color applied to the visual Take Profit 1 line on the chart.
InpColTP2 (Default: C'0,230,118') -> Color applied to the visual Take Profit 2 line on the chart.
Risk Disclaimer:
Trading foreign exchange, commodities, and other financial instruments involves significant risk and may not be suitable for all investors. Past performance does not guarantee future results. This software is an analytical and operational tool designed strictly to assist traders in technical chart analysis; it does not guarantee financial profit or eliminate market exposure. Always thoroughly test the product on a demo account environment to fully understand its calculation dynamics and operational behavior before considering deployment in live trading environments.
