OPEN-SOURCE SCRIPT

Open Basis

262
This indicator tracks and evaluates institutional market direction by analyzing the relative price hierarchy of **three key session open times** (configured in Central Time):

### 1. The Three Session Anchors

* **5:00 PM CT (Globex Open):** Marks the start of the new global trading day and resets the cycle. Plotted as a pink/magenta line.
* **11:00 PM CT (MNO / Midnight ET):** Captures the structural shift into the late-night session. Plotted as a white line.
* **8:30 AM CT (New York Cash Open):** The primary cash session open (9:30 AM ET). Plotted as a yellow line.

---

### 2. The Scoring & Trend Logic

At the exact moment the **8:30 AM CT** open prints, the indicator compares the three prices to determine market bias:

* **Bulls Strong (`Score = +2`):** Triggered when prices step cleanly upward across the sessions ($5\text{pm} < 11\text{pm} < 8:30\text{am}$). This indicates strong, structured upward momentum.
* **Bears Strong (`Score = -2`):** Triggered when prices step cleanly downward across the sessions ($5\text{pm} > 11\text{pm} > 8:30\text{am}$). This indicates sustained downward pressure.
* **Mixed / No Edge (`Score = 0`):** Triggered when the levels overlap or do not form a clean sequential hierarchy, signaling a choppy or rotational environment.

---

### 3. Chart Visuals

* **Right-Margin Labels:** Small text tags sit at the far right edge of your chart next to each respective line (`5:00pm CT`, `11:00pm CT`, `8:30am CT`) so you can instantly identify them without tracing across the screen.
* **NY Open Event Label:** At 8:30 AM CT, a detailed text box prints on the chart displaying the final bias (`Bulls Strong`, `Bears Strong`, or `Mixed`) along with the exact fractional price of each open.
* **Alerts:** Built-in alert conditions trigger automatically at the NY Open to notify you whether market structure is trending or mixed.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.