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が提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。