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

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。