OPEN-SOURCE SCRIPT
已更新

Opening Range Breakout (ORB) with Fib Retracement

291
Overview
“ORB with Fib Retracement” is a Pine Script indicator that anchors a full Fibonacci framework to the first minutes of the trading day (the opening-range breakout, or ORB).
After the ORB window closes the script:

Locks-in that session’s high and low.

Calculates a complete ladder of Fibonacci retracement levels between them (0 → 100 %).

Projects symmetric extension levels above and below the range (±1.618, ±2.618, ±3.618, ±4.618 by default).

Sub-divides every extension slice with additional 23.6 %, 38.2 %, 50 %, 61.8 % and 78.6 % mid-lines so each “zone” has its own inner fib grid.

Plots the whole structure and—optionally—extends every line into the future for ongoing reference.

  • **Session time / timezone** – Defines the ORB window (defaults 09:30–09:45 EST).
  • **Show All Fib Levels** – Toggles every retracement and extension line on or off.
  • **Show Extended Lines** – Draws dotted, extend-right projections of every level.
  • **Color group** – Assigns colors to buy-side (green), sell-side (red), and internal fibs (gray).
  • **Extension value inputs** – Allows custom +/- 1.618 to 4.618 fib levels for personalized projection zones.
發行說明
minor
發行說明
Added all necessary half-hour offsets (e.g., GMT+5:30, GMT-3:30) to the existing full-hour GMT list, covering the full range from GMT-12 to GMT+14. This allows for accurate session alignment in regions with 30-minute time differences.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。