OPEN-SOURCE SCRIPT
52-Week High & 20% Below

This indicator plots the rolling 52-week high along with a clear horizontal level 20% below that high.
The core idea behind this script:
For long-term investors who truly believe in a company’s fundamentals, a 20% drop from the 52-week high often represents a high-probability area to add to positions or start building a position.
This tool helps you visually identify those moments of temporary weakness in quality companies without getting caught up in short-term noise. It’s designed for patient, conviction-based investing — not for day trading or chasing momentum.
How to use it:
Watch for price approaching or touching the red 20% Below line on stocks you already like fundamentally.
Use it as a reference to scale into positions during pullbacks rather than trying to catch the absolute bottom.
Best used on daily charts for stocks, ETFs, or indices you intend to hold for years.
This is a simple visual aid to support a time-tested long-term investing approach: Buy quality companies when they go on sale.
The core idea behind this script:
For long-term investors who truly believe in a company’s fundamentals, a 20% drop from the 52-week high often represents a high-probability area to add to positions or start building a position.
This tool helps you visually identify those moments of temporary weakness in quality companies without getting caught up in short-term noise. It’s designed for patient, conviction-based investing — not for day trading or chasing momentum.
How to use it:
Watch for price approaching or touching the red 20% Below line on stocks you already like fundamentally.
Use it as a reference to scale into positions during pullbacks rather than trying to catch the absolute bottom.
Best used on daily charts for stocks, ETFs, or indices you intend to hold for years.
This is a simple visual aid to support a time-tested long-term investing approach: Buy quality companies when they go on sale.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.