OPEN-SOURCE SCRIPT
Reversal Detection System v3.3

═══════════════════════════════════════════════════
REVERSAL DETECTION SYSTEM v3.3
Professional Multi-Feature Market Structure Analysis
═══════════════════════════════════════════════════
Born from 40+ years of trading experience across commodities, stocks, and futures markets. After founding multiple successful companies including Anchor Financial and U.S. Investors Group, I shifted focus entirely to trading, spending 12 years specializing in micro futures scalping (MNQ, MES, MYM, MGC, MCL). This system represents 20+ years of indicator development on ThinkScript, now converted to TradingView to help the trading community.
DEVELOPER: NPR21 - Retired sales executive, professional day trader, second-degree black belt in Tae Kwon Do (discipline shapes trading mindset). Converting my personal ThinkScript library to TradingView to share proven tools with the community.
═══════════════════════════════════════════════════
CORE FEATURES
═══════════════════════════════════════════════════
✓ REVERSAL DETECTION - Adaptive ATR-based with 5 sensitivity presets (Very High to Very Low) plus custom mode. Non-repainting confirmed signals with optional preview.
✓ SMART MONEY CONCEPTS - BOS (Break of Structure) continuation signals and CHoCH (Change of Character) reversal warnings. Fractal-based institutional footprint tracking.
✓ PREMIUM/DISCOUNT ZONES - Three-zone price structure (Premium/Equilibrium/Discount) with volume-based strength analysis. Shows actual buy/sell pressure from last 20 bars with Strong/Weak High/Low labels.
✓ ORDER BLOCKS - Volumetric split visualization showing buy/sell pressure ratios. Automatic mitigation detection with breaker zones (flipped polarity). Shows institutional entry zones.
✓ FAIR VALUE GAPS (FVG) - Three-candle gap detection with 50% Consequent Encroachment lines. Dynamic fill percentage tracking with auto-cleanup when filled.
✓ MOBIUS TREND PIVOTS - Institutional-grade pivot system with True Range-based target zones. Dynamic cloud visualization with real-time long/short entry signals and risk offset lines.
✓ STRONG/WEAK HIGHER HIGHS & LOWER LOWS - Market structure shift detection with strength percentages showing momentum conviction.
✓ SUPPLY/DEMAND ZONES - Rectangular zones at confirmed reversal pivots with adjustable display limits.
═══════════════════════════════════════════════════
WHY THIS WORKS
═══════════════════════════════════════════════════
Each feature captures different institutional behavior:
- Premium/Discount = Where smart money accumulates vs distributes
- Order Blocks = Exact zones where institutions placed large orders
- BOS/CHoCH = Trend structure confirmation and reversal warnings
- FVG = Inefficient price discovery that gets filled
- Mobius = Pivot-based target zones with high hit rates
- Volume Strength = Actual order flow conviction (not price-based guesses)
═══════════════════════════════════════════════════
QUICK START
═══════════════════════════════════════════════════
1. Choose sensitivity: High (1-5m), Medium (15m-1H), Low (4H-Daily)
2. Enable features you want (all ON by default)
3. Set ONE alert: "STRONG Bullish/Bearish Signal" for best setups
4. Paper trade 1-2 months before going live
SCALPERS (1-5m): Use Very High sensitivity, focus on Order Blocks + Mobius signals
DAY TRADERS (15m-1H): Use Medium sensitivity, focus on BOS/CHoCH + Premium/Discount
SWING TRADERS (4H-Daily): Use Low sensitivity, focus on major structure + Strong/Weak HL
═══════════════════════════════════════════════════
CUSTOMIZATION
═══════════════════════════════════════════════════
- Independent text size controls for ALL label types (Tiny/Small/Normal/Large)
- Adjustable swing high/low line width (1-5)
- Customizable zone extensions and lookback periods
- Color customization for all components
- Toggle each feature independently
- Real-time info dashboard showing active features
═══════════════════════════════════════════════════
ALERT SYSTEM
═══════════════════════════════════════════════════
Available alerts:
- Bullish/Bearish Reversals
- BOS and CHoCH (structure breaks)
- Fair Value Gaps
- Mobius pivot crossovers
- Strong confluence signals (reversal + trend aligned)
Recommended: Start with "STRONG Bullish/Bearish Signal" - these require multiple confirmations and have highest win rates.
═══════════════════════════════════════════════════
WORKS ON
═══════════════════════════════════════════════════
✓ All timeframes (1m to Monthly)
✓ All instruments (Stocks, Forex, Futures, Crypto, Indices)
✓ Tested extensively on micro futures (MNQ, MES, MYM, MGC, MCL)
═══════════════════════════════════════════════════
IMPORTANT NOTES
═══════════════════════════════════════════════════
- This indicator provides technical analysis signals - NOT financial advice
- Always use proper risk management (1-2% risk per trade maximum)
- Past performance does not guarantee future results
- Combine with price action and fundamental analysis
- Test thoroughly on paper/demo before live trading
- Best results come from understanding WHY features work, not blindly following signals
═══════════════════════════════════════════════════
COMPREHENSIVE GUIDE
═══════════════════════════════════════════════════
For detailed usage instructions including:
- Step-by-step trade examples for Forex, Futures Scalpers, and Swing Traders
- Multi-timeframe confirmation strategies
- Alert configuration guide
- Troubleshooting and optimization
- Performance tracking methods
Visit: docs.google.com/document/d/1f6JpLfKmHYdlBVmVTM-g2HFsCcblNbddfGxlaByyU_M/edit?usp=sharing
═══════════════════════════════════════════════════
CREDITS
═══════════════════════════════════════════════════
Inspiration from Michael J. Huddleston & ICT (Inner Circle Trader) for Smart Money Concepts framework. Mobius for trend pivot methodology. The trading community for decades of shared knowledge.
═══════════════════════════════════════════════════
VERSION HISTORY
═══════════════════════════════════════════════════
v3.3 (January 27, 2026) - Added Premium/Discount zones with volume strength, Mobius pivots, Strong/Weak HL detection, enhanced customization
v3.2 (January 2026) - Enhanced order blocks, FVG tracking, info table
v3.1 (January 2026) - Initial TradingView release
REVERSAL DETECTION SYSTEM v3.3
Professional Multi-Feature Market Structure Analysis
═══════════════════════════════════════════════════
Born from 40+ years of trading experience across commodities, stocks, and futures markets. After founding multiple successful companies including Anchor Financial and U.S. Investors Group, I shifted focus entirely to trading, spending 12 years specializing in micro futures scalping (MNQ, MES, MYM, MGC, MCL). This system represents 20+ years of indicator development on ThinkScript, now converted to TradingView to help the trading community.
DEVELOPER: NPR21 - Retired sales executive, professional day trader, second-degree black belt in Tae Kwon Do (discipline shapes trading mindset). Converting my personal ThinkScript library to TradingView to share proven tools with the community.
═══════════════════════════════════════════════════
CORE FEATURES
═══════════════════════════════════════════════════
✓ REVERSAL DETECTION - Adaptive ATR-based with 5 sensitivity presets (Very High to Very Low) plus custom mode. Non-repainting confirmed signals with optional preview.
✓ SMART MONEY CONCEPTS - BOS (Break of Structure) continuation signals and CHoCH (Change of Character) reversal warnings. Fractal-based institutional footprint tracking.
✓ PREMIUM/DISCOUNT ZONES - Three-zone price structure (Premium/Equilibrium/Discount) with volume-based strength analysis. Shows actual buy/sell pressure from last 20 bars with Strong/Weak High/Low labels.
✓ ORDER BLOCKS - Volumetric split visualization showing buy/sell pressure ratios. Automatic mitigation detection with breaker zones (flipped polarity). Shows institutional entry zones.
✓ FAIR VALUE GAPS (FVG) - Three-candle gap detection with 50% Consequent Encroachment lines. Dynamic fill percentage tracking with auto-cleanup when filled.
✓ MOBIUS TREND PIVOTS - Institutional-grade pivot system with True Range-based target zones. Dynamic cloud visualization with real-time long/short entry signals and risk offset lines.
✓ STRONG/WEAK HIGHER HIGHS & LOWER LOWS - Market structure shift detection with strength percentages showing momentum conviction.
✓ SUPPLY/DEMAND ZONES - Rectangular zones at confirmed reversal pivots with adjustable display limits.
═══════════════════════════════════════════════════
WHY THIS WORKS
═══════════════════════════════════════════════════
Each feature captures different institutional behavior:
- Premium/Discount = Where smart money accumulates vs distributes
- Order Blocks = Exact zones where institutions placed large orders
- BOS/CHoCH = Trend structure confirmation and reversal warnings
- FVG = Inefficient price discovery that gets filled
- Mobius = Pivot-based target zones with high hit rates
- Volume Strength = Actual order flow conviction (not price-based guesses)
═══════════════════════════════════════════════════
QUICK START
═══════════════════════════════════════════════════
1. Choose sensitivity: High (1-5m), Medium (15m-1H), Low (4H-Daily)
2. Enable features you want (all ON by default)
3. Set ONE alert: "STRONG Bullish/Bearish Signal" for best setups
4. Paper trade 1-2 months before going live
SCALPERS (1-5m): Use Very High sensitivity, focus on Order Blocks + Mobius signals
DAY TRADERS (15m-1H): Use Medium sensitivity, focus on BOS/CHoCH + Premium/Discount
SWING TRADERS (4H-Daily): Use Low sensitivity, focus on major structure + Strong/Weak HL
═══════════════════════════════════════════════════
CUSTOMIZATION
═══════════════════════════════════════════════════
- Independent text size controls for ALL label types (Tiny/Small/Normal/Large)
- Adjustable swing high/low line width (1-5)
- Customizable zone extensions and lookback periods
- Color customization for all components
- Toggle each feature independently
- Real-time info dashboard showing active features
═══════════════════════════════════════════════════
ALERT SYSTEM
═══════════════════════════════════════════════════
Available alerts:
- Bullish/Bearish Reversals
- BOS and CHoCH (structure breaks)
- Fair Value Gaps
- Mobius pivot crossovers
- Strong confluence signals (reversal + trend aligned)
Recommended: Start with "STRONG Bullish/Bearish Signal" - these require multiple confirmations and have highest win rates.
═══════════════════════════════════════════════════
WORKS ON
═══════════════════════════════════════════════════
✓ All timeframes (1m to Monthly)
✓ All instruments (Stocks, Forex, Futures, Crypto, Indices)
✓ Tested extensively on micro futures (MNQ, MES, MYM, MGC, MCL)
═══════════════════════════════════════════════════
IMPORTANT NOTES
═══════════════════════════════════════════════════
- This indicator provides technical analysis signals - NOT financial advice
- Always use proper risk management (1-2% risk per trade maximum)
- Past performance does not guarantee future results
- Combine with price action and fundamental analysis
- Test thoroughly on paper/demo before live trading
- Best results come from understanding WHY features work, not blindly following signals
═══════════════════════════════════════════════════
COMPREHENSIVE GUIDE
═══════════════════════════════════════════════════
For detailed usage instructions including:
- Step-by-step trade examples for Forex, Futures Scalpers, and Swing Traders
- Multi-timeframe confirmation strategies
- Alert configuration guide
- Troubleshooting and optimization
- Performance tracking methods
Visit: docs.google.com/document/d/1f6JpLfKmHYdlBVmVTM-g2HFsCcblNbddfGxlaByyU_M/edit?usp=sharing
═══════════════════════════════════════════════════
CREDITS
═══════════════════════════════════════════════════
Inspiration from Michael J. Huddleston & ICT (Inner Circle Trader) for Smart Money Concepts framework. Mobius for trend pivot methodology. The trading community for decades of shared knowledge.
═══════════════════════════════════════════════════
VERSION HISTORY
═══════════════════════════════════════════════════
v3.3 (January 27, 2026) - Added Premium/Discount zones with volume strength, Mobius pivots, Strong/Weak HL detection, enhanced customization
v3.2 (January 2026) - Enhanced order blocks, FVG tracking, info table
v3.1 (January 2026) - Initial TradingView release
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน