OPEN-SOURCE SCRIPT
Updated Percentage Retracement from ATH

█ OVERVIEW
The Percentage Retracement from ATH indicator is a dynamic trading utility designed to help traders gauge market pullbacks from the peak price. By calculating key retracement levels based on the All-Time High (ATH) and user‑defined percentage inputs, it offers clear visual cues to assist in identifying potential support and resistance zones.
█ KEY FEATURES
█ PURPOSE
█ IDEAL USERS
The Percentage Retracement from ATH indicator is a dynamic trading utility designed to help traders gauge market pullbacks from the peak price. By calculating key retracement levels based on the All-Time High (ATH) and user‑defined percentage inputs, it offers clear visual cues to assist in identifying potential support and resistance zones.
█ KEY FEATURES
- Custom Date — Use a custom start date so the indicator only considers specified price action.
- Retracement Calculation — Determines ATH and calculates levels based on user‑defined percentages (0% to –100%).
- Visual Customisation — Plots configurable horizontal lines and labels showing retracement percentages and prices.
- Time Filtering — Uses time filtering to base levels on the desired data period.
█ 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.
Release Notes
Fixed label bugOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.