PROTECTED SOURCE SCRIPT
Box Theory LITE

Unlock clean, essential market structure visualization with Box Theory LITE, a lightweight Pine Script® v6 overlay built for day/swing traders on futures (ES, NQ, MES), stocks (SPY, TSLA, AAPL), indices, and more. This free edition delivers core daily levels without signals or complexity—perfect for spotting support/resistance, trend bias, and volatility at a glance.
Key Features:
Previous Day Range Box: Semi-transparent yellow box framing yesterday's high/low (PDH/PDL), extended right to project potential breakout/reversal zones.
Flexible Session Toggle: Switch between Regular Trading Hours (RTH 0930-1600) and Global/Globex (1800-1700 or custom) with one click — instantly adapt the box, PDH/PDL, and Opening Range to RTH or full-session data.
Opening Range (OR): Plots high/low from the chosen session open — ideal for early bias, breakouts, or mean reversion setups.
Refined S/R Levels: Pivot highs/lows + multi-timeframe swings (hourly white, 4H aqua/fuchsia) for layered confluence across timeframes.
Trend & Volatility Tools: Customizable EMAs (up to 3 periods), Bollinger Bands (squeeze/expansion detection), and daily-resetting VWAP (volume-weighted fair value).
Fully Customizable: Toggle any element on/off, adjust colors, line widths, pivot/EMA lengths, box extension bars, session times, and more to match your setup.
Clean & Efficient: Optimized for smooth performance on all timeframes with limited objects (max lines/boxes respected).
Great for beginners building structure awareness or pros wanting a no-clutter foundation. No alerts, entries, backtesting, or signals—this is pure visual analysis.
For advanced upgrades—including automated entry/exit signals, manipulation filters, dynamic SL/TP projections, alert conditions, performance stats, and ticker-specific presets—check out Box Theory PRO (available now).
Notes & Disclaimer
Use for informational/educational purposes only. Trading involves substantial risk of loss; past performance ≠ future results. Not financial advice. Combine with your own strategy and risk management.
How to Use
Add to Chart
Search “Box Theory LITE” in TradingView’s Indicators (free & public). Apply to any chart.
Customize Inputs
Session Toggle: Turn ON for Regular (RTH) session, OFF for Global/Globex — or edit the exact times directly in settings.
Toggles: Show/hide Daily Box, OR Levels, Pivots/Swings, EMAs, BB, VWAP.
Box: Extension bars (default 20), color/transparency.
Styles: Line width, colors (PDH red, PDL green, OR blue/purple, etc.), mid-line style.
Parameters: Pivot length, EMA periods (50/20/100 default), BB length/multiplier.
Quick Interpretation
Yellow Box + PDH/PDL lines: Core daily range (RTH or Globex depending on toggle) — price often respects/breaks these.
OR High/Low: Early session structure (matches your toggle choice) — breakouts signal momentum, failures suggest reversal.
Pivots & Swings: Multi-TF confluence for stronger zones (aqua pivot highs, teal/orange lows, white hourly, fuchsia 4H).
EMAs: Trend filter (price above cluster = bullish bias).
Bollinger Bands: Volatility gauge — squeezes precede big moves.
VWAP: Intraday fair value — above = bullish control, below = bearish.
Workflow Tips
Start with the daily box/OR (toggle session to match your trading style) → layer swings/pivots for high-prob zones → use EMAs/BB/VWAP to filter direction/volatility. Toggle off unused features for cleaner charts. Best on intraday (1m–1h) for futures/indices, but flexible for any timeframe.
Questions, bugs, or feature requests? Message me on TradingView. Happy trading—stay disciplined!
Key Features:
Previous Day Range Box: Semi-transparent yellow box framing yesterday's high/low (PDH/PDL), extended right to project potential breakout/reversal zones.
Flexible Session Toggle: Switch between Regular Trading Hours (RTH 0930-1600) and Global/Globex (1800-1700 or custom) with one click — instantly adapt the box, PDH/PDL, and Opening Range to RTH or full-session data.
Opening Range (OR): Plots high/low from the chosen session open — ideal for early bias, breakouts, or mean reversion setups.
Refined S/R Levels: Pivot highs/lows + multi-timeframe swings (hourly white, 4H aqua/fuchsia) for layered confluence across timeframes.
Trend & Volatility Tools: Customizable EMAs (up to 3 periods), Bollinger Bands (squeeze/expansion detection), and daily-resetting VWAP (volume-weighted fair value).
Fully Customizable: Toggle any element on/off, adjust colors, line widths, pivot/EMA lengths, box extension bars, session times, and more to match your setup.
Clean & Efficient: Optimized for smooth performance on all timeframes with limited objects (max lines/boxes respected).
Great for beginners building structure awareness or pros wanting a no-clutter foundation. No alerts, entries, backtesting, or signals—this is pure visual analysis.
For advanced upgrades—including automated entry/exit signals, manipulation filters, dynamic SL/TP projections, alert conditions, performance stats, and ticker-specific presets—check out Box Theory PRO (available now).
Notes & Disclaimer
Use for informational/educational purposes only. Trading involves substantial risk of loss; past performance ≠ future results. Not financial advice. Combine with your own strategy and risk management.
How to Use
Add to Chart
Search “Box Theory LITE” in TradingView’s Indicators (free & public). Apply to any chart.
Customize Inputs
Session Toggle: Turn ON for Regular (RTH) session, OFF for Global/Globex — or edit the exact times directly in settings.
Toggles: Show/hide Daily Box, OR Levels, Pivots/Swings, EMAs, BB, VWAP.
Box: Extension bars (default 20), color/transparency.
Styles: Line width, colors (PDH red, PDL green, OR blue/purple, etc.), mid-line style.
Parameters: Pivot length, EMA periods (50/20/100 default), BB length/multiplier.
Quick Interpretation
Yellow Box + PDH/PDL lines: Core daily range (RTH or Globex depending on toggle) — price often respects/breaks these.
OR High/Low: Early session structure (matches your toggle choice) — breakouts signal momentum, failures suggest reversal.
Pivots & Swings: Multi-TF confluence for stronger zones (aqua pivot highs, teal/orange lows, white hourly, fuchsia 4H).
EMAs: Trend filter (price above cluster = bullish bias).
Bollinger Bands: Volatility gauge — squeezes precede big moves.
VWAP: Intraday fair value — above = bullish control, below = bearish.
Workflow Tips
Start with the daily box/OR (toggle session to match your trading style) → layer swings/pivots for high-prob zones → use EMAs/BB/VWAP to filter direction/volatility. Toggle off unused features for cleaner charts. Best on intraday (1m–1h) for futures/indices, but flexible for any timeframe.
Questions, bugs, or feature requests? Message me on TradingView. Happy trading—stay disciplined!
Skrip terproteksi
Skrip ini diterbitkan sebagai sumber tertutup. Namun, Anda dapat menggunakannya dengan bebas dan tanpa batasan apa pun – pelajari lebih lanjut di sini.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip terproteksi
Skrip ini diterbitkan sebagai sumber tertutup. Namun, Anda dapat menggunakannya dengan bebas dan tanpa batasan apa pun – pelajari lebih lanjut di sini.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.