INVITE-ONLY SCRIPT

OTE Time Matrix [Pascal ⧋]

50
Overview

“OTE Time Matrix [Pascal ⧋]” anchors each session’s range to the current session open, then projects OTE retracements and expansion zones. It’s session-aware, timezone-aware, and market-aware (stocks, futures, forex, crypto) with safeguards for RTH and futures quirks.

What it does

Detects up to four user-defined sessions (A–D) in a chosen timezone or the exchange timezone.

For each new session, pulls the previous session’s high/low/open, offsets them from the current session open, and draws:

Anchored HIGH/LOW levels

EQ (0.5) and custom OTE retracement lines

Optional projection zones (e.g., 1.20–1.50× range) above/below

Handles stocks RTH trimming (9:30–16:00 ET), shortened futures days, and the 18:00 futures extension bug.

Features

Sessions & Timezones

4 sessions (default: 18:00–00:00, 00:00–08:30, 08:30–11:00, 11:00–18:00).

Timezone selector (NY/Chicago/LA/London/…/UTC/Exchange).

“Show current only” or display N historical sessions with optional historical labels.

Anchored Range Levels

Prior session HIGH/LOW reapplied to current session open.

Optional Open anchor line with label (session start time).

Line styling: Solid/Dashed/Dotted; width control.

OTE Retracements

EQ (0.5) plus up to four custom levels (defaults: 0.618, 0.382, 0.236, 0.764).

Per-level labels with price tooltips; size control (Tiny/Small/Normal).

Projections

Shaded expansion boxes above/below using range multipliers (default 1.20 → 1.50).

Optional boundary projection lines with style/width controls.

Box transparency control.

Market Safeguards

Stocks: clamps drawings to RTH, skips zero-duration sessions.

Futures: holiday short days handled; 18:00 → 17:59 fix.

Forex/Crypto: continuous handling without special clamps.

Performance/b]

Cleans up old lines/labels/boxes; caps historical displays.

Separate stores per session; label visibility control for history.

Disclaimer

This tool is for chart visualization and education. It does not constitute financial advice or a guarantee of outcomes. Always validate levels and manage risk independently.

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.