OPEN-SOURCE SCRIPT
Atualizado

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

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.