OPEN-SOURCE SCRIPT
ATH Drawdown Levels

Overview
This script provides a clean, automated way to track key psychological and technical retracement levels from an asset's All-Time High (ATH). Instead of manually drawing Fibonacci levels or horizontal rays every time a new high is reached, this indicator dynamically updates and projects critical drawdown thresholds across your chart.
Key Features
Dynamic ATH Tracking: Automatically identifies the highest price point in the symbol's history and adjusts levels instantly if a new ATH is set.
Key Retracement Levels: Specifically plots the -5%, -10%, and -15% drawdown marks—common "buy the dip" zones and correction milestones used by long-term investors.
Clean Visuals: Uses dashed lines and price labels positioned to the right of the current bar to ensure your main chart area remains uncluttered.
Ghosting Prevention: Optimized logic ensures that labels and lines move with the price action, preventing the "label stacking" common in many drawdown scripts.
How to Use
Simply add the script to your chart. The levels will automatically appear based on the symbol's historical peak. This is particularly useful for:
Risk Management: Visualizing how far the current price is from its peak.
Entry Strategies: Identifying entry points during healthy market pullbacks.
Portfolio Rebalancing: Monitoring correction depths for long-term holds.
Customization
You can easily adjust the colors for each drawdown level in the Settings > Inputs menu to match your specific chart theme.
This script provides a clean, automated way to track key psychological and technical retracement levels from an asset's All-Time High (ATH). Instead of manually drawing Fibonacci levels or horizontal rays every time a new high is reached, this indicator dynamically updates and projects critical drawdown thresholds across your chart.
Key Features
Dynamic ATH Tracking: Automatically identifies the highest price point in the symbol's history and adjusts levels instantly if a new ATH is set.
Key Retracement Levels: Specifically plots the -5%, -10%, and -15% drawdown marks—common "buy the dip" zones and correction milestones used by long-term investors.
Clean Visuals: Uses dashed lines and price labels positioned to the right of the current bar to ensure your main chart area remains uncluttered.
Ghosting Prevention: Optimized logic ensures that labels and lines move with the price action, preventing the "label stacking" common in many drawdown scripts.
How to Use
Simply add the script to your chart. The levels will automatically appear based on the symbol's historical peak. This is particularly useful for:
Risk Management: Visualizing how far the current price is from its peak.
Entry Strategies: Identifying entry points during healthy market pullbacks.
Portfolio Rebalancing: Monitoring correction depths for long-term holds.
Customization
You can easily adjust the colors for each drawdown level in the Settings > Inputs menu to match your specific chart theme.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.