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.
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน