Relative Vigor Index RVI All PairTF Scan Dashboard
- Индикаторы
- Версия: 1.0
- Активации: 5
Relative Vigor Index RVI All Pair and Timeframe Scanner Dashboard
Overview
RVI Scanner Dashboard is a multi-pair and multi-timeframe technical indicator and interactive scanner panel for MetaTrader 4 (MT4). Built around the Relative Vigor Index (RVI) oscillator, it continuously monitors multiple currency pairs, commodities, or indices across selected timeframes from one chart window. The tool detects directional momentum crossovers, validates setups through an optional 15-module technical confirmation suite, computes Average True Range (ATR) Stop Loss and Take Profit reference levels, and organizes active signals in a sortable on-chart dashboard with real-time multi-channel alerts.
Operating Principle and Signal Logic
The indicator evaluates market momentum using the Relative Vigor Index (RVI) oscillator paired with ATR volatility projections and optional multi-indicator confluence checks:
- Closed-Candle Calculation and Non-Repainting Behavior: All signal detection and filter checks execute exclusively on confirmed closed bars (starting from bar index 1 backward within the configured lookback window). Once a candle closes and a signal is confirmed, its plotted arrow and signal timestamp remain fixed on the chart and do not repaint or shift.
- Dual RVI Crossover Modes: Users can select between two distinct RVI crossover modes depending on trading style:
1. Zero-Line Crossover Mode (ENTRY_RVI_CROSS_ZERO): Detects directional momentum shifts when the RVI main line crosses above the 0.0 equilibrium level for bullish setups or below 0.0 for bearish setups, favoring confirmed trend momentum shifts.
2. Signal-Line Crossover Mode (ENTRY_RVI_CROSS_SIGNAL): Detects earlier momentum inflections when the RVI main line crosses above the RVI signal line for bullish setups or below the signal line for bearish setups, capturing earlier momentum turns.
- Buy Signal Conditions: A bullish signal triggers when the selected RVI crossover occurs upward on a closed candle, bullish direction scanning is permitted, and every active confirmation filter in the filter suite passes simultaneously at that signal bar.
- Sell Signal Conditions: A bearish signal triggers when the selected RVI crossover occurs downward on a closed candle, bearish direction scanning is permitted, and every active confirmation filter in the filter suite passes simultaneously at that signal bar.
- Directional Filtering and Lookback Window: Traders can restrict scanning to BUY signals only, SELL signals only, or both directions simultaneously, while limiting historical signal searches to a defined number of closed bars so only recent setups appear in the scanner matrix.
- Optional 15-Module Confirmation Suite: To reduce false signals during low-volatility consolidation or counter-trend phases, users can enable any combination of 15 built-in technical filters without external indicator files:
1. RSI Crossover Filter: Verifies that the Relative Strength Index crosses upward out of oversold territory for BUY signals or downward out of overbought territory for SELL signals.
2. ADX Trend Strength Filter: Requires the Average Directional Index main line to remain above a minimum threshold to confirm directional market participation.
3. Single Moving Average Filter: Confirms trend alignment by requiring the signal bar close to stay above a configurable Moving Average for BUY setups or below it for SELL setups.
4. Ichimoku Senkou Span B Filter: Uses the Ichimoku Kinko Hyo leading span baseline to confirm bullish positioning above the cloud boundary or bearish positioning below it.
5. Long-Period RSI Midline Filter: Evaluates broader momentum bias by checking whether a long-period RSI remains above the 50.0 midline for BUY or below 50.0 for SELL.
6. Dual Moving Average Alignment Filter: Confirms structural trend direction by requiring a fast Moving Average to stay above a slow Moving Average for BUY signals and below for SELL signals.
7. Awesome Oscillator (AO) Filter: Supports modular checks for minimum histogram amplitude, bar-to-bar color momentum slope, and zero-line directional alignment.
8. Parabolic SAR Filter: Validates trend direction by checking whether price closes above the Parabolic SAR dot for BUY setups or below the SAR dot for SELL setups.
9. Heiken Ashi Candle Polarity Filter: Evaluates smoothed Heiken Ashi price structure to confirm bullish candle polarity for BUY signals and bearish candle polarity for SELL signals.
10. CCI Trend Bias Filter: Uses a medium-to-long period Commodity Channel Index relative to the 0.0 equilibrium line to verify broader directional bias.
11. CCI Overbought and Oversold Filter: Checks short-period CCI momentum readings against configurable upper and lower threshold levels.
12. Secondary RVI Trend and Signal Filters: Allows adding an independent long-period RVI zero-line trend check and an independent RVI Main-versus-Signal alignment check alongside the primary RVI engine.
13. MACD Histogram and Zero-Line Filters: Verifies MACD histogram polarity and optional MACD main-line positioning relative to the 0.0 level.
14. Swing Support/Resistance and Fibonacci Retracement Filters: Evaluates whether the signal bar interacts with recent swing Support/Resistance zones or retracement bands between recent swing pivots.
15. ATR Volatility Trend-Band Filter: Evaluates dynamic volatility-adjusted upper and lower trend bands to ensure signals align with the prevailing volatility trend state.
- Volatility-Based SL and TP Levels: For each validated signal, the indicator measures market volatility at the signal candle via ATR and computes an Entry reference price (signal bar close), a Stop Loss level (Entry minus or plus ATR multiplied by the SL factor), and two Take Profit targets (TP 1 and TP 2) scaled by user-defined Risk-to-Reward ratios. This adapts stop distances automatically to both high-volatility metals like XAUUSD and lower-volatility currency pairs.
Key Features
- Multi-Symbol and Multi-Timeframe Matrix Scanning: Scans symbols loaded automatically from the MT4 Market Watch window or defined via a custom list across up to nine standard timeframes (M1, M5, M15, M30, H1, H4, D1, W1, MN1) on a background timer cycle. If custom timeframe inputs contain formatting errors, the scanner falls back safely to a default M15 through D1 set.
- Dual RVI Engine and Direction Filter: Switch between Zero-Line Crossover and Signal-Line Crossover modes directly from the input parameters without reloading templates, and filter scans for Both, Buy Only, or Sell Only.
- Integrated 15-Filter Technical Confluence Framework: Combine trend, momentum, volatility, candle-polarity, and price-structure filters inside a single self-contained indicator with zero external custom indicator dependencies.
- Automated ATR Stop Loss and Dual Take Profit Levels: Displays numerical Entry, SL, TP 1, and TP 2 values inside the dashboard table and plots horizontal projection lines with Risk-to-Reward labels on the active chart.
- Interactive On-Chart Dashboard Panel: Features clickable column headers to sort active signals by Pair, Timeframe, Direction, or Signal Time, one-click chart switching via row OPEN buttons, smooth mouse drag-and-drop repositioning, minimize/maximize state persistence across timeframe changes, manual refresh, and instant object cleanup.
- High-DPI Responsive Scaling and Full Color Customization: Adjustable global UI scaling (70% to 180%) for 4K and standard monitors, customizable individual column widths, row heights, font sizes, and a 15-color palette for dark or light chart backgrounds.
Dashboard Interface and Alert System
- Table Columns and Color Coding: Each active row displays 11 structured columns: PAIR (symbol), TF (timeframe), DIR (BUY or SELL direction), TIME (signal candle timestamp), ENTRY (reference close price), SL (ATR Stop Loss), TP 1 (first Risk-to-Reward target), TP 2 (second Risk-to-Reward target), RVI (oscillator reading at signal bar), AGE (elapsed time since signal in seconds, minutes, hours, or days), and an OPEN button. Green text and arrows denote confirmed bullish (BUY) setups and Take Profit targets; red text and arrows denote confirmed bearish (SELL) setups and Stop Loss levels; cyan accents highlight the dashboard title, active sort indicator, entry projection line, and OPEN buttons; muted grey denotes status bar diagnostics, inactive placeholders, and signal age.
- Interactive Panel Controls and Tooltips: Click PAIR, TF, DIR, or TIME column headers to sort rows in ascending or descending order (indicated by ^ and v markers). Click OPEN on any signal row to automatically switch the active chart to that symbol and timeframe in candlestick mode and draw its Entry, SL, TP 1, and TP 2 levels. Hovering the mouse cursor over any table row reveals a tooltip summary with exact Entry, RVI, SL, TP 1, and TP 2 values. Drag the header bar to move the panel anywhere on the chart (coordinates and minimized state persist in terminal global variables across chart switches), click MIN/MAX to collapse or expand the table, click REFRESH to force an immediate rescan, or click CLEAR to remove dashboard objects.
- Multi-Channel Alert Notifications: Supports four independent notification channels when a valid signal appears: on-screen MetaTrader pop-up dialogs, custom .wav audio alerts, mobile push notifications via MetaQuotes ID, and SMTP email alerts. Each alert message includes the active RVI mode, symbol, timeframe, direction, signal timestamp, Entry, SL, TP 1, TP 2, and RVI reading. Duplicate notifications are prevented by tracking the timestamp of the last alerted signal per symbol and timeframe slot.
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. When using broker accounts with symbol prefixes or suffixes (such as EURUSD.m or EURUSDpro), set InpUseWatch to true so the scanner reads exact Market Watch symbol names automatically, or include the exact broker suffix in InpSymbols.
- Recommended Timeframes: Supports all standard MT4 timeframes from M1 to MN1. Intraday traders typically monitor M5, M15, and M30 for frequent momentum crossovers, while swing traders focus on H1, H4, and D1 for higher-timeframe directional shifts.
- Computational Efficiency and Terminal Performance: Scanning many symbols across multiple timeframes with active filters increases CPU and memory load. To maintain smooth MT4 terminal performance, keep InpMaxSymbols between 10 and 15 pairs, set InpBarsCopy between 150 and 300 bars (ensuring InpBarsCopy remains larger than InpLookback and the longest enabled filter period), use a timer scan interval (InpScanSec) of at least 5 seconds, and avoid running multiple heavy multi-pair scanners simultaneously on lower-specification systems.
- Chart Projection and Timeframe Switching Behavior: When InpDrawOnChart is active, the indicator plots the most recent valid signal on the active chart with an entry arrow, dotted entry line, and solid or dashed SL, TP 1, and TP 2 lines extending forward by InpExtendBars. Switching charts manually or via the OPEN button automatically refreshes the plotted pattern for the selected symbol and timeframe.
- Broker and Account Compatibility: Compatible with standard, ECN, and raw-spread MT4 accounts across Hedging and Netting environments. Because this product is an analytical indicator and market scanner rather than an automated execution robot, it does not open, modify, or close orders automatically.
Input Parameters Documentation
1. Core Entry Logic (RVI Engine)
- InpEntryMode (Default: ENTRY_RVI_CROSS_ZERO): RVI trigger mode (ENTRY_RVI_CROSS_ZERO = RVI main line crosses 0.0; ENTRY_RVI_CROSS_SIGNAL = RVI main line crosses RVI signal line).
- RVI_Length (Default: 14): Calculation period in bars for the primary Relative Vigor Index oscillator.
- InpDirection (Default: 0): Trade direction filter (0 = Both BUY and SELL; 1 = BUY only; 2 = SELL only).
- InpLookback (Default: 100): Maximum closed bars searched backward from bar 1 to detect the latest crossover.
2. Scanner and Symbol Settings
- InpSymbols (Default: "EURUSD,GBPUSD,USDJPY,AUDUSD,USDCAD,USDCHF,NZDUSD,EURJPY,GBPJPY,XAUUSD"): Comma-separated custom symbols scanned when InpUseWatch is false.
- InpTimeframes (Default: "M5,M15,M30,H1,H4,D1"): Comma-separated timeframes scanned per symbol.
- InpUseWatch (Default: true): Scans all active symbols in MT4 Market Watch up to InpMaxSymbols.
- InpMaxSymbols (Default: 10): Maximum symbols loaded and scanned simultaneously per timer cycle.
- InpScanSec (Default: 5): Timer interval in seconds between scan cycles (minimum enforced value is 3 seconds).
- InpBarsCopy (Default: 200): Historical bars copied per symbol and timeframe for calculations.
3. Risk Management and ATR SL/TP Levels
- InpShowSLTP (Default: true): Enables or disables calculation and chart plotting of ATR SL and TP levels.
- InpATRPeriod (Default: 14): Averaging period in bars for Average True Range (ATR) calculation.
- InpATRMulSL (Default: 1.5): Multiplier applied to ATR to set Stop Loss distance from Entry.
- InpTP1_RR (Default: 1.0): Risk-to-Reward multiplier for TP 1 target (1.0 equals 1:1 Risk-to-Reward).
- InpTP2_RR (Default: 2.0): Risk-to-Reward multiplier for TP 2 target (2.0 equals 1:2 Risk-to-Reward).
4. Alerts Configuration
- InpAlertPopup (Default: true): Enables MetaTrader terminal pop-up alert windows.
- InpAlertSound (Default: true): Enables audible .wav sound alerts on new signals.
- InpSoundFile (Default: "alert2.wav"): Filename of .wav audio file played from terminal Sounds folder.
- InpAlertPush (Default: false): Enables mobile push notifications to MetaTrader iOS/Android app.
- InpAlertEmail (Default: false): Enables email notifications via terminal SMTP settings.
- InpEmailSubject (Default: "RVI Scanner Signal"): Subject prefix for outgoing alert emails.
- InpAlertOnlyNew (Default: true): Fires alerts only when a signal timestamp is strictly newer than the previous alert.
5. Display and Panel Geometry
- InpX (Default: 12): Initial horizontal X-coordinate in pixels from upper-left chart corner.
- InpY (Default: 28): Initial vertical Y-coordinate in pixels from upper-left chart corner.
- InpScale (Default: 110): Global UI scaling percentage (clamped between 70% and 180%).
- InpRowH (Default: 18): Base height in pixels of each table data row before scaling.
- InpFont (Default: 7): Base font size in points for dashboard text before scaling.
- InpPadX (Default: 7): Left and right horizontal padding in pixels inside panel.
- InpWPair (Default: 68): Pixel width of PAIR column.
- InpWTF (Default: 34): Pixel width of TF column.
- InpWArah (Default: 44): Pixel width of DIR column.
- InpWTime (Default: 100): Pixel width of TIME column.
- InpWEntry (Default: 64): Pixel width of ENTRY column.
- InpWSL (Default: 64): Pixel width of SL column.
- InpWTP1 (Default: 64): Pixel width of TP 1 column.
- InpWTP2 (Default: 64): Pixel width of TP 2 column.
- InpWRVI (Default: 46): Pixel width of RVI column.
- InpWUmur (Default: 46): Pixel width of AGE column.
- InpWOpen (Default: 44): Pixel width of OPEN button column.
- InpShowEmpty (Default: false): Displays symbol/timeframe rows without active signals when true.
- InpMaxRows (Default: 17): Maximum visible signal rows rendered in table.
6. Sorting Settings
- InpSortBy (Default: SORT_TIME): Default sort column (SORT_TIME = Time; SORT_PAIR = Pair; SORT_TF = Timeframe; SORT_DIR = Direction).
- InpSortNewest (Default: true): Sorts signal timestamps descending so latest signals appear first.
7. Chart Visuals and Signal Markers
- InpDrawOnChart (Default: true): Automatically draws latest valid signal arrow and levels on active chart.
- InpShowArrow (Default: true): Displays directional entry arrows at signal bar.
- InpShowLevels (Default: true): Displays horizontal lines and labels for Entry, SL, TP 1, and TP 2 levels.
- InpExtendBars (Default: 25): Number of bars to the right that Entry, SL, and TP lines extend from signal candle.
- InpArrowCodeBuy (Default: 233): Wingdings symbol code for bullish BUY arrows.
- InpArrowCodeSell (Default: 234): Wingdings symbol code for bearish SELL arrows.
- InpArrowSize (Default: 2): Size width (1 to 5) of plotted signal arrows.
- InpArrowDistance (Default: 15): Vertical offset in points between signal candle price and arrow marker.
8. Color Palette
- InpColBg (Default: C'18,22,28'): Main dashboard background color.
- InpColHead (Default: C'32,38,48'): Title header bar and column header background color.
- InpColRow (Default: C'24,28,36'): Background color for even table rows.
- InpColRow2 (Default: C'28,33,42'): Background color for odd table rows.
- InpColText (Default: C'220,225,230'): Primary text color for symbols, timeframes, timestamps, and entry prices.
- InpColBull (Default: C'0,200,83'): Text color for bullish BUY labels and positive RVI readings.
- InpColBear (Default: C'255,82,82'): Text color for bearish SELL labels and negative RVI readings.
- InpColMute (Default: C'120,128,140'): Muted text color for status bar text and signal age.
- InpColAccent (Default: C'0,188,212'): Accent color for dashboard title, active sort header, and OPEN buttons.
- InpColArrowBuy (Default: C'0,230,255'): Color of bullish BUY arrows plotted on chart.
- InpColArrowSell (Default: C'255,82,82'): Color of bearish SELL arrows plotted on chart.
- InpColEntry (Default: C'0,188,212'): Color of dotted Entry price line on chart.
- InpColSL (Default: C'255,82,82'): Color of Stop Loss (SL) line and table text.
- InpColTP1 (Default: C'0,230,118'): Color of TP 1 line and table text.
- InpColTP2 (Default: C'0,200,83'): Color of TP 2 line and table text.
9. Multi-Filter Suite Parameters (15 Confirmation Modules)
- Use_RSI_Cross_Filter (Default: false): Enables RSI oversold/overbought crossover confirmation.
- RSI_Length (Default: 14): Calculation period in bars for RSI Crossover filter.
- RSI_Price_Source (Default: PRICE_CLOSE): Applied price source for RSI calculations.
- RSI_Oversold (Default: 30.0): Lower RSI threshold for bullish crossover validation.
- RSI_Overbought (Default: 70.0): Upper RSI threshold for bearish crossover validation.
- Use_ADX_Filter (Default: false): Enables Average Directional Index (ADX) trend strength filter.
- ADX_Period (Default: 10): Calculation period in bars for ADX filter.
- ADX_Min_Level (Default: 20.0): Minimum main ADX reading required to confirm trend momentum.
- Use_MA_Filter (Default: false): Enables Single Moving Average trend filter (price above MA for BUY, below for SELL).
- MA_Period (Default: 50): Averaging period in bars for Single Moving Average filter.
- MA_Method (Default: MODE_SMA): Moving average smoothing method (SMA, EMA, SMMA, LWMA).
- MA_Shift (Default: 0): Horizontal bar shift applied to Single Moving Average.
- Use_Ichimoku_Filter (Default: false): Enables Ichimoku Kinko Hyo Senkou Span B baseline filter.
- Ichimoku_Tenkan (Default: 9): Tenkan-sen conversion line period in bars.
- Ichimoku_Kijun (Default: 26): Kijun-sen base line period in bars.
- Ichimoku_SenkouB (Default: 52): Senkou Span B leading span period in bars.
- Use_RSI75_Filter (Default: false): Enables long-period RSI 50.0 midline trend bias filter.
- RSI_Filter_Period (Default: 75): Calculation period in bars for RSI midline trend filter.
- Use_DoubleMA_Filter (Default: false): Enables Dual Moving Average alignment filter (fast MA_A above slow MA_B for BUY, below for SELL).
- MA_A_Period (Default: 30): Period in bars for fast Moving Average (MA_A).
- MA_A_Method (Default: MODE_EMA): Smoothing method for fast Moving Average (MA_A).
- MA_A_Applied (Default: PRICE_CLOSE): Applied price source for fast Moving Average (MA_A).
- MA_A_Shift (Default: 0): Horizontal bar shift for fast Moving Average (MA_A).
- MA_B_Period (Default: 140): Period in bars for slow Moving Average (MA_B).
- MA_B_Method (Default: MODE_EMA): Smoothing method for slow Moving Average (MA_B).
- MA_B_Applied (Default: PRICE_CLOSE): Applied price source for slow Moving Average (MA_B).
- MA_B_Shift (Default: 0): Horizontal bar shift for slow Moving Average (MA_B).
- Use_AO_Filter (Default: false): Enables Awesome Oscillator (AO) momentum confirmation.
- Use_AO_Volume_Filter (Default: false): Requires AO histogram amplitude to exceed minimum thresholds.
- AO_Buy_Min (Default: 4.0): Minimum positive AO threshold for bullish validation.
- AO_Sell_Max (Default: -4.0): Maximum negative AO threshold for bearish validation.
- Use_AO_Color_Filter (Default: false): Requires rising AO bars for BUY and falling bars for SELL.
- Use_AO_Zero_Filter (Default: false): Requires AO above 0.0 and rising for BUY, or below 0.0 and falling for SELL.
- Use_SAR_Filter (Default: false): Enables Parabolic SAR trend confirmation filter.
- SAR_Step (Default: 0.02): Acceleration step increment for Parabolic SAR.
- SAR_Maximum (Default: 0.2): Maximum acceleration limit for Parabolic SAR.
- Use_HeikenAshi_Filter (Default: false): Enables smoothed Heiken Ashi candle polarity filter (bullish for BUY, bearish for SELL).
- Use_CCI_Filter (Default: false): Enables Commodity Channel Index (CCI) zero-line trend bias filter.
- CCI_Period (Default: 50): Calculation period in bars for CCI Trend filter.
- CCI_Applied (Default: PRICE_CLOSE): Applied price source for CCI Trend filter.
- Use_CCI_OBOS_Filter (Default: false): Enables CCI Overbought/Oversold momentum filter.
- CCI_OBOS_Period (Default: 14): Calculation period in bars for CCI OB/OS filter.
- CCI_OBOS_Applied (Default: PRICE_CLOSE): Applied price source for CCI OB/OS filter.
- CCI_Overbought (Default: 100.0): Upper CCI threshold for OB/OS filter.
- CCI_Oversold (Default: -100.0): Lower CCI threshold for OB/OS filter.
- Use_RVI_Filter (Default: false): Enables secondary long-period RVI zero-line trend filter.
- RVI_Period (Default: 75): Calculation period in bars for secondary RVI trend filter.
- Use_RVI_Signal_Filter (Default: false): Enables secondary RVI Main-versus-Signal line alignment filter.
- RVI_Signal_Period (Default: 20): Calculation period in bars for secondary RVI Signal filter.
- Use_MACD_Filter (Default: false): Enables MACD histogram polarity confirmation filter.
- MACD_FastEMA (Default: 12): Fast EMA period in bars for MACD calculation.
- MACD_SlowEMA (Default: 26): Slow EMA period in bars for MACD calculation.
- MACD_SignalSMA (Default: 9): Signal line SMA period in bars for MACD calculation.
- MACD_Applied (Default: PRICE_CLOSE): Applied price source for MACD calculation.
- Use_MACD_Zero_Filter (Default: false): Requires MACD main line above 0.0 for BUY or below 0.0 for SELL.
- Use_SR_Filter (Default: false): Enables proximity validation near recent swing Support and Resistance levels.
- SR_Period (Default: 50): Lookback window in bars used to detect swing Support and Resistance levels.
- SR_Zone_Points (Default: 80): Price tolerance zone in points around Support and Resistance levels.
- Use_Fib_Filter (Default: false): Enables Fibonacci retracement zone validation between recent swing points.
- Fib_Level_1 (Default: 0.382): First Fibonacci retracement ratio boundary (38.2%).
- Fib_Level_2 (Default: 0.618): Second Fibonacci retracement ratio boundary (61.8%).
- ZigZag_Depth (Default: 12): Minimum bar depth to identify swing highs and lows for Fibonacci levels.
- ZigZag_Deviation (Default: 5): Minimum price deviation in points required to confirm a swing pivot.
- ZigZag_Backstep (Default: 3): Minimum bar separation between consecutive swing pivots.
- Use_Supertrend_Filter (Default: false): Enables ATR-based volatility trend-band direction filter.
- ST_AtrPeriod (Default: 10): ATR lookback period in bars used in trend-band calculation.
- ST_Factor (Default: 3.0): Multiplier factor applied to ATR band distance.
Risk Disclaimer
Trading foreign exchange, commodities, indices, and other financial instruments involves significant risk and may not be suitable for all investors. Past performance and historical signal patterns do not guarantee future results. This software is an analytical and operational indicator designed strictly to assist traders in technical chart analysis; it does not execute orders automatically and does not guarantee financial profit. Always test the product thoroughly on a demo account to understand its operational behavior and resource usage before applying it to live trading environments.
