OPEN-SOURCE SCRIPT
Aktualisiert

Prev RTH Fibs

450
This study captures the previous day’s Regular Trading Hours (RTH) range (default 09:30–16:00 America/New_York), then projects it onto the current session. It draws HIGH, LOW, and an optional 50% midpoint, plus a configurable set of inside fib-style percentages measured from the HIGH downward. Every level extends a short distance to the right of the current price and shows a clean numeric label (no box) on the right edge.

Key features

Prev-day RTH range tracked automatically; plotted each new session.

Inside levels (from HIGH ↓): 11%, 25%, 29.5%, 38.2%, 45%, 55%, 62% (OTE), 70.5%, 75%, 78.6%, 85% (toggle any on/off).

Clean right-side labels: numbers only, resizable (Tiny → Huge) with transparent background.

Line styling: HIGH/LOW and 50% are solid; inside levels can be Solid/Dashed/Dotted with independent color/width.

Smart right padding: lines/labels extend a few bars past the latest candle, so annotations stay beside price without violating TradingView’s “>500 bars in future” rule.

Works on any symbol/timeframe; RTH window and timezone are adjustable.

Inputs you control

Session: RTH session string and timezone.

Right-side padding (bars) and number size.

Visibility & style for HIGH, LOW, and 50%.

Which inside levels to show, plus their style/color/width.
Versionshinweise
added some extra text
Versionshinweise
fix on the ending time
Versionshinweise
fix to when it starts showing the range
Versionshinweise
updated so it starts showing at midnight
Versionshinweise
Added in ability to flip fibs around for a Bearish market and also added in extensions off the range.
Versionshinweise
picture update
Versionshinweise
fixed range time frame pull so it works on higher time frames
Versionshinweise
small fix
Versionshinweise
added option to shade the RTH range background.

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.