OPEN-SOURCE SCRIPT
ATH Dip Levels - Buy on Dips

This indicator is a "Buy the Dip" guide designed for assets in long-term uptrends, such as Nasdaq (QQQ) or S&P 500 (SPY). It uses a mathematical discipline to identify accumulation zones based on the rolling 220-bar All-Time High (ATH).
Key Features:
Dynamic Levels: Automatically calculates entry points at 3%, 5%, 10%, 15%, 25%, 35%, and 50% retracements from the recent ATH.
Smart Filter: Each level is triggered only once per ATH cycle. It prevents over-trading in sideways markets; levels only reset when a brand-new high is formed.
Clean Visuals: Features precise "BUY" labels at exact price points and a handy status dashboard in the top-right corner.
Unified Alerts: Simplify your workflow by setting a single alert for all 7 dip levels.
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.
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.
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.