Indicator · Pine Script v6 · On the chart

ORB Multi-Model Indicator

by Mrshahidali420

This indicator plots several New York opening-range breakout models on the price chart and can also show a combined confidence-scored signal.

View on GitHub

Repaints

GitHub stars16on the repository
Pine versionv6current
Lines of code2,253
Settings40inputs
LicenceNone stated
Last update3 months ago24 Jul 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Enabled models include classic Crabel, a five-minute scalper, a standard fifteen-minute breakout, and a gold variant, with optional fair-value-gap, failed-breakout, and BDM models. Settings change session hours, signal cutoff, opening-range width versus ATR, relative volume, news-spike cooldown, and per-model risk-reward. It uses higher-timeframe reference data with lookahead.

Details

Published by

Mrshahidali420 on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Breakout, Sessions & time, Scalping, Volume

Markets

Gold

Timeframes

M1-M5, M15-H1

Risk Notes

  • Reads higher-timeframe data with lookahead on, so the history can show signals that were not there in real time

Topics

day-tradingopening-range-breakoutorbpine-scripttechnical-analysistrading-strategytradingviewalgorithmic-tradingpinescripttrading-indicator

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Enable Combined Signalbooltruei_comb_on
NY Session Windowsession0930-1600i_sessionOpen
Signal Cutoff Hour (EST)int12i_timeCutoff
Enable OR Width Filterboolfalsei_orWidthFilter
OR Max Width (× ATR14)float1.5i_orWidthMaxATR
Primary Reference TF (M3/M4/M6/M7/M9)timeframe5i_refTF
Fast Reference TF (M1, Combined)timeframe1i_refTF_fast
News-Spike Guardbooltruei_newsGuard
cooldown barsint6i_newsCool
Min OR-Window RVOL (vs 14-day avg, 0 = off)float0.0i_orRvolMin
Opening-Candle Direction Filter (15-min OR)boolfalsei_dirFilter
Daily Stop: Halt After N Losses (0 = off)int0i_maxLossDay
Show all 40 settings
SettingTypeDefaultVariable
EOD Exitbooltruei_eodExit
NY hourint16i_eodHour
minint45i_eodMin
Model 1 — Crabel OR Length (min)int15i_crabelMins
Model 1 — Classic Crabelbooltruei_m1_on
Model 3 — 5-Min Scalperbooltruei_m3_on
Model 4 — Standard 15-Minbooltruei_m4_on
Model 6 — FVG ORBboolfalsei_m6_on
Model 7 — Gold ORBbooltruei_m7_on
Model 9 — Failed ORB Reversalboolfalsei_m9_on
Model 10 — BDM ORBboolfalsei_m10_on
Min Models to Show Signalint1i_minAgree
M1: Require NR7/NR4 compressionbooltruei_m1_nr7
M1: Risk/Reward ratiofloat2.0i_m1_rratio
M1: Min RVOL (0 = off)float1.2i_m1_volMult
M3: Min volume multiplier (vs avg)float1.5i_m3_volMult
M3: Risk/Reward ratiofloat1.5i_m3_rratio
M4: Min volume multiplierfloat1.2i_m4_volMult
M4: RSI min (longs)int40i_m4_rsiMin
M4: RSI max (shorts)int60i_m4_rsiMax
M4: Risk/Reward ratiofloat2.0i_m4_rratio
M6: Min FVG size (% of OR range)float0.1i_m6_fvgMinSize
M6: Risk/Reward ratiofloat2.0i_m6_rratio
M7: Cutoff hour EST (no entries after)int12i_m7_cutoffHour
M7: Risk/Reward ratiofloat2.0i_m7_rratio
M7: Min RVOL (0 = off)float1.2i_m7_volMult
M9: Risk/Reward ratiofloat2.0i_m9_rratio
M9: Bars inside to confirm failureint5i_m9_failBars
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

23 stars

Point-Clip Unified Indicator plots breakout and directional labels on the price chart. It scores volume spikes against a volume average, range or opening-range breaks, optional VWAP or session-anchored VWAP, fast and slow EMA trend, and a higher-timeframe EMA

Indicator v6 BreakoutVolume Repaints
Updated 3 weeks ago · Custom licence GitHub repository of Point-Clip Unified Indicator

Nexural ORB

by JasonTeixeira
9 stars

This indicator plots opening range breakout levels across multiple timeframes, including five, fifteen, thirty, and sixty minutes, directly on the price chart. It also displays the session open and overnight high and low levels. The script calculates an openin

Indicator v6 BreakoutSessions & time
Updated 12 days ago · Custom licence GitHub repository of Nexural ORB

ICT ORB

by alboogycOdR
6 stars

ICT ORB draws the opening range for a chosen session and marks breakout conditions on the price chart. It can require relative volume, a volume spike, a liquidity sweep, displacement, trend alignment, an order block, and higher-timeframe bias before a fair-val

Indicator v5 SMC / ICT / price actionBreakout
Updated 7 months ago · None stated GitHub repository of ICT ORB

ORB Breakout Alert

by az9713
2 stars

The indicator identifies upside breakouts from the 30-minute US market opening range between 09:30 and 10:00 AM ET. It triggers a signal when price closes above the opening range high before 11:30 AM ET, provided bar volume exceeds a multiplier of the opening

Indicator v5 BreakoutSessions & time
Updated 5 months ago · None stated GitHub repository of ORB Breakout Alert

VP

by dearvn
257 stars

This indicator calculates and plots a session-based volume profile directly on the price chart. It maps volume distribution across price levels, highlighting key structural reference points including the Point of Control, Value Area High, and Value Area Low. C

Indicator v5 VolumeSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of VP

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers