OPEN-SOURCE SCRIPT

Cerfinits CVD Footprints

692
Core Concept
The strategy trades based on Cumulative Volume Delta (CVD) divergence — detecting when buying/selling pressure (measured by volume delta) diverges abnormally from price movement, which signals potential reversals or continuations.

How It Works
1. CVD Calculation
Tracks the net difference between buy volume and sell volume, accumulated over time (CVD).
Supports two data sources: legacy intraday data (lower-timeframe requests) or TradingView Footprint data (requires premium plan).
2. Oscillator
Both price and CVD are smoothed with a Moving Average (EMA by default), then z-score normalized so they're on the same scale.
The oscillator = normalized CVD MA − normalized Price MA — positive means volume pressure is outpacing price, negative means the opposite.
Optionally volume-weighted to amplify signals on high-volume bars.
3. Spike Detection
A spike is flagged when the oscillator deviates more than N standard deviations (default 2.5) from its recent mean.
An Adaptive Threshold option scales that multiplier up/down based on current ATR regime (ranging vs. trending market).
4. Multi-Timeframe (MTF) Confluence
Uses two higher timeframes (default 1H and 4H) to compute an OBV-vs-price divergence score.
Entry is only allowed when both HTFs agree with the trade direction.

Come hang out with us on Discord. Ask questions, share ideas, and meet the community.

https://discord.gg/n7Cvu2xt

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.