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

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.