OPEN-SOURCE SCRIPT

Market Range Theory 6.5 | UI-Enhanced

129
Pine Scriptยฎ
# ๐Ÿ“Š Market Range Theory 6.5 | UI-Enhanced ### A clean & powerful breakout strategy based on weekly market structure --- ## ๐Ÿง  What is this indicator? The **Market Range Theory** draws the **Weekly Opening Range (WOR)** โ€“ the price high/low set at the start of each trading week. It helps you identify: - โœ… Breakouts above or below the weekly range - ๐Ÿ” Retests back into the range (conservative setups) - ๐Ÿšซ Sideways zones to avoid trading You can optionally enable the **Monthly Opening Range (MOR)** for macro structure. --- ## โš™๏ธ How it works - Draws the **Weekly Range box** + **mid-line** - Detects **Breakouts** with **volume confirmation** + optional **ATR filter** - Supports 2 strategy modes: - ๐Ÿ”ฅ *Aggressive* โ†’ Entry at breakout - ๐Ÿงฒ *Conservative* โ†’ Entry at retest - Offers visual signals: - โœ… Labels (full/compact/last only) - ๐Ÿ”บ Triangles for breakouts - ๐Ÿš€ Optional "Expansion" labels - Clean **corner dashboard** shows status, mode & alert state --- ## ๐Ÿ› ๏ธ Customization options ### ๐ŸŽ› Visual Settings: - **Label Mode**: Full, Compact, Shapes only, Last only - **Minimal Mode**: Hide all visuals for a clean chart - **Shape size**: Tiny, Small, Normal ### ๐Ÿ“ Range Settings: - Choose WOR logic: Monday-only or flexible - Show/hide mid-line - Optional: Enable Monthly Opening Range (MOR) ### ๐Ÿ“ˆ Filters: - Volume filter (vs SMA) - ATR breakout buffer ### ๐Ÿ“Š Strategy: - Aggressive vs Conservative entries - Entry buffer - Enable/disable alerts --- ## ๐Ÿ“‹ Example: > DAX forms WOR: 23,500โ€“23,800 > ๐Ÿ”ผ Breaks above 23,800 with volume โ†’ Long entry > ๐Ÿ” Pulls back to 23,800 โ†’ Retest entry (if in Conservative mode) --- ## โœ… Best for: - Day & swing traders - Options, CFDs, KO products - DAX, NASDAQ, EUR/USD, Gold, etc. --- ## ๐Ÿ‡ฉ๐Ÿ‡ช Deutsche Beschreibung **Market Range Theory** zeigt dir automatisch die **Erรถffnungsspanne (WOR)** jeder Handelswoche im Chart. - ๐Ÿ“ฆ Zeigt Breakouts + Retests (mit Volumenfilter & ATR) - ๐ŸŽฏ Zwei Strategiemodi: aggressiv oder konservativ - โœจ Labels, Symbole & ein Live-Dashboard zur Orientierung - ๐Ÿงผ Aufgerรคumte Darstellung durch โ€žMinimal Modeโ€œ Nutze es fรผr DAX, NASDAQ, Gold, Forex u.โ€ฏv.โ€ฏm. โ€“ ideal fรผr alle, die auf Breakouts oder Reversals setzen. --- > ๐Ÿ“ข Built by @MasterMP โ€“ feel free to fork, adapt & improve.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.