Tradehook — Trading Automation Service
highSpecialty Suite

VolDivAlgo

The VolDiv Algorithm detects divergences between price action and volume—a powerful signal that often precedes significant moves. When price makes new highs but volume declines (or vice versa), it signals weakening conviction and potential reversal.

TradingView Preview
See this algorithm in action on real charts
VolDivAlgo TradingView chart
Performance Metrics
Historical backtesting results
82.4%
Win Rate
4.48
Profit Factor
2.2%
Max Drawdown
$359
Avg Trade
Based on 1840 trades

About This Algorithm

VOLUME DIVERGENCE STRATEGY

Quick Facts:

  • Category: Volume Analysis / Divergence
  • Markets: All markets with volume
  • Timeframes: 1H, 4H, Daily

Overview

The VolDiv Algorithm detects divergences between price action and volume—a powerful signal that often precedes significant moves. When price makes new highs but volume declines (or vice versa), it signals weakening conviction and potential reversal.

Volume divergence often leads price divergence, making it an early warning indicator for trend changes.


How It Works

VOLUME MEASUREMENT Track volume behavior:

  • Average volume over lookback period
    • Volume trend (rising or falling)
    • Volume at price pivots

DIVERGENCE DETECTION

BEARISH VOLUME DIVERGENCE:

  • Price makes higher high
    • Volume at high is lower than previous high
    • Signals weakening buying interest

BULLISH VOLUME DIVERGENCE:

  • Price makes lower low
    • Volume at low is lower than previous low
    • Signals weakening selling interest

CONFIRMATION Validate divergence:

  • Minimum divergence percentage
    • Volume trend confirmation
    • Price reversal pattern (optional)

Key Parameters

DETECTION:

  • pivotLookback (5): Bars for pivot detection
    • minVolumeDivPct (20): Minimum volume drop %
    • maxPivotDistance (30): Maximum bars between pivots

FILTERS:

  • requirePriceReversal (false): Need price confirmation
    • volumeTrendFilter (true): Check volume trend

ENTRY:

  • entryDelay (1): Bars after divergence for entry
    • useVMConfirmation (true): Require VMAlgo confirmation

Best Use Cases

✅ EARLY REVERSAL DETECTION before price confirms ✅ TREND EXHAUSTION identification ✅ WEAK BREAKOUT detection (low volume breaks) ✅ CONFIRMATION for other reversal signals

Customer Reviews

No reviews yet. Be the first to review this algorithm!
Specialty Suite
Requires Specialty Suite Plan

Subscribe to Specialty Suite or higher to access

Subscription Access

Get access to this indicator/strategy on TradingView through our invite-only system. Your TradingView account will be granted access.

One-Time Purchase

Own the complete Pine Script source code forever. Modify, customize, and use it on your own TradingView account.

$3,000
Subscribe to any tier to unlock one-time purchases

What you get with source code:

  • Complete Pine Script v5 source code
  • Lifetime ownership - no recurring fees
  • Full customization rights
  • Use on your own TradingView account
PlatformTradingView
Subscription AccessTradingView Invite
One-Time PurchaseSource Code
LicensePersonal Use

We Value Your Privacy

We use cookies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept All", you consent to our use of cookies. Read our Privacy Policy for more information.