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 protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.