OPEN-SOURCE SCRIPT
Updated CANSLIM Radar

What it does
This indicator checks a stock against 7 classic momentum/trend criteria, popularized by Mark Minervini's Trend Template and shared by the CANSLIM methodology. Each criterion is either passed or failed, and the total score (0–7) tells you at a glance whether a stock is in Stage 2 (healthy uptrend) territory.
The 7 criteria
1. Price above both the 150-day and 200-day moving average
2. 150-day MA above the 200-day MA
3. 200-day MA trending up for at least a month
4. 50-day MA above both the 150-day and 200-day MA
5. Price above the 50-day MA
6. Price at least 30% above its 52-week low
7. Price within 25% of its 52-week high
How to use it
On the chart: a color-coded table shows the live score and which criteria pass/fail — green (7/7), yellow (4–6), red (below 4).
In the Pine Screener: every criterion is published as a separate series, so you can filter an entire watchlist down to only the stocks that pass all 7 conditions.
Alerts are included for when a stock reaches a full 7/7 score.
Settings
MA lengths, MA type (SMA/EMA), and 52-week range thresholds are all configurable.
Disclaimer
This script is for educational and informational purposes only. It is not, and should not be construed as, investment advice or a recommendation to buy or sell any security. Past performance and technical patterns do not guarantee future results. Always do your own research and consult a licensed financial advisor before making investment decisions.
This indicator checks a stock against 7 classic momentum/trend criteria, popularized by Mark Minervini's Trend Template and shared by the CANSLIM methodology. Each criterion is either passed or failed, and the total score (0–7) tells you at a glance whether a stock is in Stage 2 (healthy uptrend) territory.
The 7 criteria
1. Price above both the 150-day and 200-day moving average
2. 150-day MA above the 200-day MA
3. 200-day MA trending up for at least a month
4. 50-day MA above both the 150-day and 200-day MA
5. Price above the 50-day MA
6. Price at least 30% above its 52-week low
7. Price within 25% of its 52-week high
How to use it
On the chart: a color-coded table shows the live score and which criteria pass/fail — green (7/7), yellow (4–6), red (below 4).
In the Pine Screener: every criterion is published as a separate series, so you can filter an entire watchlist down to only the stocks that pass all 7 conditions.
Alerts are included for when a stock reaches a full 7/7 score.
Settings
MA lengths, MA type (SMA/EMA), and 52-week range thresholds are all configurable.
Disclaimer
This script is for educational and informational purposes only. It is not, and should not be construed as, investment advice or a recommendation to buy or sell any security. Past performance and technical patterns do not guarantee future results. Always do your own research and consult a licensed financial advisor before making investment decisions.
Release Notes
Added customizable colors for table header, pass/fail marks, and criterion labels. Changed default table position to bottom-right. Added clear branding header ("CANSLIM Radar | Free Scanner") to the score table so users immediately recognize the scanner.Release Notes
Renamed to Trend Template Radar for accuracy - this indicator is a purely technical scan (price/moving-average based), not a full CANSLIM implementation, so the name now reflects what it actually measures.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.