TDV Indicator

Overview:
The TDR Risk Engine is a powerful market risk and momentum visualization tool. It provides two advanced risk models—TDV Extreme and PPO—to help traders identify high and low risk zones, potential market extremes, and optimal trade timing. The indicator is designed for use on any asset or timeframe and is highly customizable.
Key Features
Dual Risk Engines:
TDV Extreme:
Measures price distance from a Donchian channel baseline (default 50-period).
Tracks rolling averages and extreme breaches to dynamically identify high and low risk zones.
Visualizes “extreme” and “above average” conditions with color-coded plots.
Adaptive rolling windows based on timeframe or user input.
PPO (Percentage Price Oscillator):
Uses Laguerre-smoothed PPO percent ranks to gauge momentum extremes.
Combines top and bottom PPO percent ranks for a composite risk score.
Highlights overbought/oversold conditions and momentum shifts.
Visual Risk Zones:
Color-coded scatter plots for easy identification of average, above average, near extreme, and extreme risk conditions.
Optional plot lines for high/low limits and above-average thresholds.
Alerts:
Get notified when price or PPO enters high or low extreme zones.
Customizable Settings:
Switch between TDV Extreme and PPO engines.
Adjust rolling window and extreme lookback periods.
Toggle display of high/low limits and above-average thresholds.
How It Works
TDV Extreme Mode:
Calculates the percentage distance of price from the Donchian baseline.
Tracks rolling averages for both positive and negative distances.
Identifies and records “extreme” breaches, dynamically updating high/low limits.
Color codes each bar based on its risk state (average, above average, near extreme, extreme).
PPO Mode:
Applies Laguerre smoothing to the average price (hl2) with short (0.4) and long (0.8) factors.
Calculates PPO top and bottom percent ranks over a configurable window.
Sums the ranks for a composite risk score, highlighting extremes at ±85 and above-average at ±65.
Visuals
Scatter Plot:
White: Average risk
Orange: Above average
Green: Near extreme
Blue: Extreme
Red: Sustained extreme (hit count exceeds average)
Limit Lines:
Blue: High/Low extreme limits
Orange: Above average thresholds
White: PPO high/low limits (in PPO mode)
Alerts
TDV Extreme:
Alerts when price breaches high or low extreme limits.
PPO:
Alerts when PPO sum exceeds ±85.
Best Practices
Use as a risk filter for entries/exits in your trading system.
Combine with trend or momentum indicators for confirmation.
Adjust rolling window and lookback for your asset and timeframe.
Yalnızca davetli komut dosyası
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact Cryptodontrading directly.
TradingView, yazarına tam olarak güvenmediğiniz ve nasıl çalıştığını anlamadığınız sürece bir komut dosyası için ödeme yapmanızı veya kullanmanızı ÖNERMEZ. Ayrıca topluluk komut dosyaları bölümümüzde ücretsiz, açık kaynaklı alternatifler bulabilirsiniz.
Yazarın talimatları
Uyarı: Erişim talebinde bulunmadan önce lütfen yalnızca davetli komut dosyaları kılavuzumuzu okuyun.
Check out the TDR & TDV Indicators for long term trades - cryptodontrading.com/cd-indicators
Feragatname
Yalnızca davetli komut dosyası
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact Cryptodontrading directly.
TradingView, yazarına tam olarak güvenmediğiniz ve nasıl çalıştığını anlamadığınız sürece bir komut dosyası için ödeme yapmanızı veya kullanmanızı ÖNERMEZ. Ayrıca topluluk komut dosyaları bölümümüzde ücretsiz, açık kaynaklı alternatifler bulabilirsiniz.
Yazarın talimatları
Uyarı: Erişim talebinde bulunmadan önce lütfen yalnızca davetli komut dosyaları kılavuzumuzu okuyun.
Check out the TDR & TDV Indicators for long term trades - cryptodontrading.com/cd-indicators