OPEN-SOURCE SCRIPT
更新済 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.
リリースノート
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.リリースノート
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.オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。