PROTECTED SOURCE SCRIPT

Goldbach + Circuit Breakers (Enhanced Grid)

58
Goldbach + Circuit Breakers (Enhanced Grid)

Purpose
A precision ladder that combines Hopi/Hopiplaka’s PO3 fractional grid with CME-style Circuit Breakers and a daily anchor (0.5 midpoint). It lets you study fixed, session-boxed levels (Hopi style) or flip to a dynamic, real-time recalculating grid—without changing any of your existing logic.

What it plots

Major Circuit Breakers (e.g., 3%, 5%) above/below the session anchor.

PO3 fractional ladder (full Hopi sequence 0.03 → 2.97%) for fine structure.

Daily Anchor (0.5) line with right-edge labels.

Goldbach time hits (optional dots + info table).

Cast Forward: yesterday’s anchor & levels projected into today only (when enabled).

Session dividers (optional TradingView “Session breaks” recommended for full-height verticals).

Core Modes

Calculation Mode (🎯 Anchor)

Standard PO3 – behaves like classic version (locks from session start).

CME Anchored 0.5 – anchor/lock to the CME fix (uses your Fix Time Window; defaults to 3:00 PM CT). Manual override available.

CB Mode (⚡ Circuit Breakers)

Simple – major CBs only.

Full Grid – major CBs + full PO3 ladder.

PO3 Only – fractional ladder alone.

Behavior (⚙️ Recompute)

Fixed to Session Anchor – compute once from the day’s locked anchor and freeze for that session (Hopi style).

Recalculate Every Bar – recompute from live price each bar (experimental).

Checkboxes let you apply the chosen behavior independently to PO3 and/or Major CBs.

Daily Boxing & Cast-Forward

Restrict Lines To Day: ON = every day’s levels are boxed to its own session (no bleed). OFF = levels can extend across sessions (classic grid).

Day View (CB/PO3):

Current Only – today’s grid.

Previous Only – yesterday’s levels inside today only.

Both – show both sets together inside today.

Cast Forward Previous Day: projects the prior session’s locked levels into today’s box with its own style (width, dash, transparency, colors, labels).

Goldbach (optional)

Quick visual dots at allowed minute/HH:MM conditions with a compact info table (time, fix, mode, counts).

Alerts

Goldbach hit alert.

Circuit Breaker touch alerts for Major CBs and PO3 grid (upper/lower).

Quick Start

Symbol & Timeframe: Use your futures symbol (e.g., CME: NQ1!) on any intraday TF (Hopi examples often use 5m).

Hopi look:

Calculation Mode = CME Anchored 0.5

Grid Recompute Mode = Fixed to Session Anchor (Affects PO3 + Major CBs = ON)

Restrict Lines To Day = ON

Cast Forward = ON, Day View = Both

In Chart Settings → Appearance: turn on Session breaks for full-height daily verticals.

If your exchange settles at a different time, set Fix Time Window accordingly (defaults to 1500–1500 CT).

Styling & Performance

Independent style controls for current vs previous day (line type, width, colors, transparency).

Right-edge label placement to avoid mid-chart clutter.

Respectful of TradingView limits (max lines/labels); a cleanup routine trims older visuals.

Notes

In CME Anchored mode, the script bootstraps with live close until the fix arrives, then locks and refreshes once for the day.

If you don’t see boxed behavior, ensure Restrict Lines To Day is ON.

For full-height vertical session lines, enable the platform’s Session breaks (the indicator’s own dividers are subtle, price-bounded markers).

Educational use only. Not financial advice. Always test on replay/sim before applying to live markets.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน