OPEN-SOURCE SCRIPT
CEO - Weekly Master Levels (v32)

Core Levels Plotted
- MH / ML — Current week's high and low (first trading day develops live; locked Tue–Fri)
- PMH / PML — Previous week's high and low
- Monthly Open (MO) — Up to 24 months of monthly opens
- Monthly H/L — Current and historical monthly high/low ranges
- Mid — Midpoint of the weekly range (used as a momentum void filter)
Risk Management
- 5 stop modes: ATR-from-structure, fixed buffer, signal-bar invalidation, hybrid, legacy
- Projected take-profit via: current week MH/ML, fixed-R, prior-week structural targets, or EMA trail
Key Filters
- RTH-only (pre-market wicks excluded)
- Touch hysteresis (entry + release bands) to prevent level-hover chop
- Mid-range momentum void (MMR) for continuation trades
- Consolidation guard (time-based cooldown between same-direction signals)
- First-weekly-day family gates (reactions and flips can be independently allowed/blocked)
Alerts: Entry signals, weekly level breaks/reclaims, EMA crosses, MTF SMA50 state changes.
- MH / ML — Current week's high and low (first trading day develops live; locked Tue–Fri)
- PMH / PML — Previous week's high and low
- Monthly Open (MO) — Up to 24 months of monthly opens
- Monthly H/L — Current and historical monthly high/low ranges
- Mid — Midpoint of the weekly range (used as a momentum void filter)
Risk Management
- 5 stop modes: ATR-from-structure, fixed buffer, signal-bar invalidation, hybrid, legacy
- Projected take-profit via: current week MH/ML, fixed-R, prior-week structural targets, or EMA trail
Key Filters
- RTH-only (pre-market wicks excluded)
- Touch hysteresis (entry + release bands) to prevent level-hover chop
- Mid-range momentum void (MMR) for continuation trades
- Consolidation guard (time-based cooldown between same-direction signals)
- First-weekly-day family gates (reactions and flips can be independently allowed/blocked)
Alerts: Entry signals, weekly level breaks/reclaims, EMA crosses, MTF SMA50 state changes.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.