INVITE-ONLY SCRIPT
已更新 TDV Indicator

This indicator measures the volatility of an asset based on the price distance from the baseline used in my TDR indicator. IT calculates the average distance the price will move from the baseline and shows a visual representation of that data. If the scatterplot is white, the price is within the average, if it turns yellow, the price is above the average. This can be used to determine if the price action is over extended.
版本注释
Display the current risk level on the bottom right of the chart.版本注释
Added an Upper and Lower limit for the TDV value and display the value on the indicator. Upper and Lower limit can be set in the options. The upper and lower limits displayed in Blue give an indication as to when the volatility of the assets is close to the limit and a correction in the volatility can be expected in that range.版本注释
TDR Risk EngineOverview:
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.
仅限邀请脚本
只有经作者批准的用户才能访问此脚本。您需要申请并获得使用权限。该权限通常在付款后授予。如需了解更多详情,请按照以下作者的说明操作,或直接联系Cryptodontrading。
除非您完全信任其作者并了解脚本的工作原理,否則TradingView不建议您付费或使用脚本。您还可以在我们的社区脚本中找到免费的开源替代方案。
作者的说明
This indicator is bundled with the TDR indicator, it is a paid indicator and both come packaged together with your purchase. If you would like to learn more about using my indicators please contact me here with a private message.
Explore markets with me - cryptodontrading.com
Check out the TDR & TDV Indicators for long term trades - cryptodontrading.com/cd-indicators
Check out the TDR & TDV Indicators for long term trades - cryptodontrading.com/cd-indicators
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
仅限邀请脚本
只有经作者批准的用户才能访问此脚本。您需要申请并获得使用权限。该权限通常在付款后授予。如需了解更多详情,请按照以下作者的说明操作,或直接联系Cryptodontrading。
除非您完全信任其作者并了解脚本的工作原理,否則TradingView不建议您付费或使用脚本。您还可以在我们的社区脚本中找到免费的开源替代方案。
作者的说明
This indicator is bundled with the TDR indicator, it is a paid indicator and both come packaged together with your purchase. If you would like to learn more about using my indicators please contact me here with a private message.
Explore markets with me - cryptodontrading.com
Check out the TDR & TDV Indicators for long term trades - cryptodontrading.com/cd-indicators
Check out the TDR & TDV Indicators for long term trades - cryptodontrading.com/cd-indicators
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。