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 de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.