OPEN-SOURCE SCRIPT

Levels S/R Boxes + Gaps + SL/TP

128
What It Does:

Automatically identifies and displays:

🟦 Support/Resistance zones (horizontal boxes)
🟨 Price gaps (unfilled gaps from market open/close)
🎯 Stop Loss levels (where to protect trades)
💰 Take Profit levels (where to exit trades)

Purpose: Shows you exactly where price is likely to bounce, reverse, or break through.

Best Practices:

✅ Trade at the boxes - Don't chase price
✅ Use SL/TP lines - Automatic risk management
✅ Wait for confirmation - Candle pattern + S/R level
✅ Gaps get filled - Trade towards yellow boxes
✅ Solid lines = stronger - Prefer 3+ touch levels
❌ Don't ignore SL - Always protect yourself
❌ Don't trade middle - Wait for S/R zones
❌ Don't fight strong levels - Respect solid boxes

Settings (Quick Reference):

S/R Strength: 10 (default) - Lower = more levels, Higher = fewer stronger levels
Max Levels: 5 (default) - Number of S/R boxes to show
Show Gaps: ON - Display yellow gap boxes
Show SL/TP: ON - Display entry/exit suggestions

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.