OPEN-SOURCE SCRIPT
已更新 CANSLIM Summary Score

CANSLIM is Bill O'Neil's systematic approach to identifying growth stocks with strong potential. Each letter represents a key criterion:
C - Current Quarterly Earnings: Look for companies with significant earnings growth in the most recent quarter, ideally 25%+ year-over-year.
A - Annual Earnings Growth: Seek consistent annual earnings growth over the past 3-5 years, typically 25%+ per year.
N - New: Focus on companies with something new driving their stock—new products, services, management, or industry conditions. Stocks often make big moves when they break out to new price highs.
S - Supply and Demand: Look for stocks with reasonable share volume and institutional ownership, but not excessive supply (avoid companies issuing too many shares).
L - Leader or Laggard: Buy the leading stocks in leading industry groups, not laggards. Look for stocks with relative strength ratings of 80 or higher compared to the overall market.
I - Institutional Sponsorship: Want some institutional ownership (mutual funds, pension funds), but quality matters more than quantity. Look for increasing institutional ownership.
M - Market Direction: Even great stocks struggle in a down market. Confirm the overall market is in an uptrend before buying individual stocks—this is considered the most important factor.
O'Neil developed this method through studying the biggest stock market winners throughout history and identifying their common characteristics before their major price advances.
How to use this scanner:
Open TradingView and go to the Pine Editor
Create a new indicator and paste this code
Click "Add to Chart"
The indicator will show:
A score out of 7 in the lower panel
A table showing which criteria pass/fail
Green background when score ≥ 5
To scan multiple stocks:
Create a Stock Screener in TradingView
Add this indicator to your watchlist
Filter for stocks with score ≥ 5
Limitations:
TradingView's Pine Script has limited access to fundamental data (actual earnings)
This uses price performance as a proxy for earnings growth
For true CANSLIM screening with actual earnings data, consider using dedicated stock screeners like MarketSurge (O'Neil's platform), Finviz Elite, or TradingD
C - Current Quarterly Earnings: Look for companies with significant earnings growth in the most recent quarter, ideally 25%+ year-over-year.
A - Annual Earnings Growth: Seek consistent annual earnings growth over the past 3-5 years, typically 25%+ per year.
N - New: Focus on companies with something new driving their stock—new products, services, management, or industry conditions. Stocks often make big moves when they break out to new price highs.
S - Supply and Demand: Look for stocks with reasonable share volume and institutional ownership, but not excessive supply (avoid companies issuing too many shares).
L - Leader or Laggard: Buy the leading stocks in leading industry groups, not laggards. Look for stocks with relative strength ratings of 80 or higher compared to the overall market.
I - Institutional Sponsorship: Want some institutional ownership (mutual funds, pension funds), but quality matters more than quantity. Look for increasing institutional ownership.
M - Market Direction: Even great stocks struggle in a down market. Confirm the overall market is in an uptrend before buying individual stocks—this is considered the most important factor.
O'Neil developed this method through studying the biggest stock market winners throughout history and identifying their common characteristics before their major price advances.
How to use this scanner:
Open TradingView and go to the Pine Editor
Create a new indicator and paste this code
Click "Add to Chart"
The indicator will show:
A score out of 7 in the lower panel
A table showing which criteria pass/fail
Green background when score ≥ 5
To scan multiple stocks:
Create a Stock Screener in TradingView
Add this indicator to your watchlist
Filter for stocks with score ≥ 5
Limitations:
TradingView's Pine Script has limited access to fundamental data (actual earnings)
This uses price performance as a proxy for earnings growth
For true CANSLIM screening with actual earnings data, consider using dedicated stock screeners like MarketSurge (O'Neil's platform), Finviz Elite, or TradingD
發行說明
Updated the table design開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。