OPEN-SOURCE SCRIPT
Mis à jour

Prev RTH Fibs

456
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.
Notes de version
added some extra text
Notes de version
fix on the ending time
Notes de version
fix to when it starts showing the range
Notes de version
updated so it starts showing at midnight
Notes de version
Added in ability to flip fibs around for a Bearish market and also added in extensions off the range.
Notes de version
picture update
Notes de version
fixed range time frame pull so it works on higher time frames
Notes de version
small fix
Notes de version
added option to shade the RTH range background.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.