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.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.