OPEN-SOURCE SCRIPT
Drawdown Visualisation

█ OVERVIEW
The Drawdown Visualisation indicator calculates and displays the instrument’s drawdown (in percent) relative to its all‐time high (ATH) from a user‐defined start date. It provides customisable options for label appearance, threshold lines (0%, –50%, –100%), and can plot historic drawdown levels via pivot detection.
█ USAGE
This indicator should be used with the Percentage Retracement from ATH indicator.
█ KEY FEATURES
█ PURPOSE
█ IDEAL USERS
The Drawdown Visualisation indicator calculates and displays the instrument’s drawdown (in percent) relative to its all‐time high (ATH) from a user‐defined start date. It provides customisable options for label appearance, threshold lines (0%, –50%, –100%), and can plot historic drawdown levels via pivot detection.
█ USAGE
This indicator should be used with the Percentage Retracement from ATH indicator.
█ KEY FEATURES
- Custom Date Settings — Use a custom start date so that only specified price action is considered.
- Retracement Level Calculation — Determines ATH and computes multiple retracement levels using percentages from 0% to –100%.
- Visual Signals and Customisation — Plots configurable horizontal lines and labels that display retracement percentages and prices.
- Time Filtering — Bases calculations on data from the desired time period.
Historic Drawdowns — Display historical drawdowns
█ PURPOSE
- Assist traders in visualising the depth of price retracements from recent or historical peaks.
- Identify critical zones where the market may find support or resistance after reaching an ATH.
- Facilitate more informed entry and exit decisions by clearly demarcating retracement levels on the chart.
█ IDEAL USERS
- Swing Traders — Looking to exploit pullbacks following strong upward moves.
- Technical Analysts — Interested in pinpointing key retracement levels as potential reversal or continuation points.
- Price Action Traders — Focused on the nuances of market peaks and subsequent corrections.
- Strategy Developers — Keen to backtest and refine approaches centred on retracement dynamics.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。