PROTECTED SOURCE SCRIPT
RS Stock + Chart Pattern Pine Screener

This script is a comprehensive stock screener & pattern detector based on Mark Minervini’s Trend Template, enhanced with breakout detection, range tightening indicator (RTI), ATH tracking, and flag pattern recognition. It’s designed to help traders quickly identify high-potential trend setups on any timeframe.
🔑 Features
✅ Minervini Trend Template (8 Core Rules)
Implements the well-known Minervini checklist used by top momentum traders:
📉 Range Tightening Indicator (RTI)
📈 Breakout & Breakdown Finder
🏆 All-Time High Tracker
🚩 Bull & Bear Flag Detection
🔑 Features
✅ Minervini Trend Template (8 Core Rules)
Implements the well-known Minervini checklist used by top momentum traders:
- Price above the 150 & 200 SMA
- 150 SMA above 200 SMA
- 200 SMA trending up for at least 1 month
- 50 SMA above both 150 & 200 SMA
- Price above 50 SMA
- Price at least 25% above 52-week low≈
- Price within 25% of 52-week high
- RS Rating (relative strength) above 70
📉 Range Tightening Indicator (RTI)
- Detects volatility contractions that often precede explosive moves.
📈 Breakout & Breakdown Finder
- Detects pivot breakouts and breakdowns using highs/lows tests.
🏆 All-Time High Tracker
- Find the stock’s all-time high (ATH).
🚩 Bull & Bear Flag Detection
- Identifies bullish and bearish flag patterns based on pole strength, pullback depth, and consolidation length.
- Automatically find the flags on your screener.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。