Dual Currency Normalized Volume Pressure
- Göstergeler
- Sürüm: 1.0
- Etkinleştirmeler: 5
Dual Currency Normalized Volume Pressure
Dual Currency Normalized Volume Pressure is a multi-currency volume oscillator that measures and compares the aggregate buying and selling tick-volume pressure of two currencies across their major forex pairs.
Instead of analyzing a single chart in isolation, the indicator automatically detects the base and quote currencies of the active chart (e.g., EUR and USD on EURUSD) and builds a basket of up to 7 major pairs for each currency ( EUR, USD, GBP, JPY, AUD, CAD, CHF, NZD ). It calculates the net directional tick-volume imbalance over a user-defined period, normalizes it against each pair's average volume to ensure equal weighting regardless of liquidity differences, and plots two strength lines along with crossover arrows.
Key Features
- Automatic Symbol Detection: Automatically extracts the base and quote currencies from the current chart symbol (including broker prefixes/suffixes), with an option to manually specify any two currencies.
- Multi-Pair Basket Analysis: Evaluates volume pressure across all available major crosses for both currencies simultaneously.
- Non-Repainting Bar-Close Execution: Updates strictly on newly opened bars using confirmed, closed candlesticks only ( Bar 1 ), preventing signal flickering and minimizing CPU load.
- Visual Crossover Signals: Plots Buy (Lime) and Sell (Orange) arrows when the base currency's volume pressure crosses above or below the quote currency's pressure.
How It Works
- Directional Volume Split: Over the lookback period ( InpPeriod ), tick volume is accumulated separately for bullish candles ( Close > Open ) as buying pressure and bearish candles ( Close < Open ) as selling pressure.
- Normalization: For each pair in the basket, the net volume delta is normalized by its average candle volume:
\(\text{Normalized\ Pressure}=\frac{\text{Vol}_{\text{Buy}}-\text{Vol}_{\text{Sell}}}{\text{AvgVol}}\) - Directional Alignment & Aggregation: Each pair's score is adjusted ( +1 if the target currency is the base currency, -1 if it is the quote currency) and summed into a single composite line.
Input Parameters
- InpCurrency1 (default: "" ) — First (base) currency code. Leave empty for automatic detection from the chart.
- InpCurrency2 (default: "" ) — Second (quote) currency code. Leave empty for automatic detection from the chart.
- InpPeriod (default: 8 ) — Lookback period (number of closed bars) used to calculate normalized volume pressure.
How to Read the Indicator
- Blue Line: Aggregate normalized volume pressure for the Base Currency (first currency).
- Red Line: Aggregate normalized volume pressure for the Quote Currency (second currency).
- Zero Line ( 0.0 ): Neutral balance. Values above 0.0 indicate net market-wide buying pressure; values below 0.0 indicate net selling pressure.
- Lime Up Arrow (Buy): The Blue line crosses above the Red line, signaling strengthening buying pressure on the base currency relative to the quote currency.
- Orange Down Arrow (Sell): The Blue line crosses below the Red line, signaling strengthening selling pressure on the base currency relative to the quote currency.
Since this indicator analyzes up to 14 currency pairs simultaneously, for optimal speed on lower timeframes (M1–M5), it is recommended to set Max bars in chart to 5,000 –10,000 in MetaTrader 4 (Tools → Options → Charts) and keep InpMaxBars around 300 .
How It Works
For each pair in the basket over InpPeriod closed bars, tick volume is split into bullish ( Close > Open ) and bearish ( Close < Open ) volume and normalized by the average bar volume:
Normalized Pressure = (Buy Volume - Sell Volume) / Average Volume
Scores are aligned ( +1 as base currency, -1 as quote currency) and summed into two composite strength lines.
Normalized Pressure = (Buy Volume - Sell Volume) / Average Volume
Scores are aligned ( +1 as base currency, -1 as quote currency) and summed into two composite strength lines.
Input Parameters
- InpCurrency1 (default: "" ) — Base currency code (leave empty for auto-detection).
- InpCurrency2 (default: "" ) — Quote currency code (leave empty for auto-detection).
- InpPeriod (default: 8 ) — Lookback period in closed bars.
- InpMaxBars (default: 300 ) — Maximum historical bars calculated on load.
How to Read
- Blue Line / Red Line: Aggregate normalized volume pressure for the Base / Quote currency.
- Zero Line ( 0.0 ): Neutral level — positive values show net buying pressure; negative values show net selling pressure.
- Lime Up Arrow (Buy) / Orange Down Arrow (Sell): Base currency volume pressure crosses above / below the quote currency pressure.
Setup & Performance Tip: Ensure historical data is loaded for all major forex pairs in Market Watch. For optimal speed on lower timeframes ( M1 – M5 ), set Max bars in chart to 5,000 – 10,000 in MT4 (Tools → Options → Charts ) and keep InpMaxBars around 300 .
