OPEN-SOURCE SCRIPT
已更新

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。