Strategy · Pine Script v5 · On the chart

ORB ON SLVRBL

by alboogycOdR

ORB ON SLVRBL is a strategy that combines Opening Range Breakouts with ICT Silver Bullet concepts, including Fair Value Gaps (FVG) and Market Structure Shifts (MSS).

View on GitHub

Repaints

GitHub stars6on the repository
Pine versionv5runs as is
Lines of code654
Settings34inputs
LicenceNone stated
Last update7 months ago16 Mar 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 strategy, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.

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

ORB ON SLVRBL identifies breakouts based on candle closes or wicks within designated session windows. Trades enter via FVG or MSS triggers with customizable sensitivity filters and higher timeframe confluence options. Risk management includes dynamic ATR-based or fixed percentage Take Profit and Stop Loss levels, with an option to close positions at session end. Note that this script reads multi-timeframe data with lookahead.

Details

Published by

alboogycOdR on GitHub

Draws

On the price chart

Markets

Forex, 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

Settings

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

SettingTypeDefaultVariable
Execution TypestringFVGexecutionType
MSS Swing Lengthint10mssOffset
Breakout MethodstringClosebreakoutMethod
FVG Bar TypestringSame TypefvgBars
Enable FVG SensitivitybooltruefvgSensEnabled
FVG SensitivitystringExtremefvgSensitivityText
FVG Entry DirectionstringAlongfvgEntry
Allow Gaps in FVGbooltrueallowGaps
TP/SL MethodstringDynamictpslMethod
Risk Amount (Dynamic TP/SL)stringNormalriskAmount
TP % (Fixed TP/SL)float0.3tpPercent
SL % (Fixed TP/SL)float0.4slPercent
Show all 34 settings
SettingTypeDefaultVariable
Close Position at Session EndbooltrueclosePositionAtEndSession
Buy Signal Colorcolorcolor.greenhighColor
Sell Signal Colorcolorcolor.redlowColor
Text Colorcolorcolor.whitetextColor
Show FVGsbooltrueshowFVGs
Show TP/SLbooltrueshowTPSL
Enable Buy AlertsbooltruebuyAlertEnabled
Enable Sell AlertsbooltruesellAlertEnabled
Enable TP AlertsbooltruetpAlertEnabled
Enable SL AlertsbooltrueslAlertEnabled
Daily BiasstringNonedailyBias
Use Higher TF LiquiditybooltrueuseHigherTFliq
Require DisplacementbooltruerequireDisplacement
Require OB ConfluencebooltruerequireOBConfluence
ORB SessionstringNew YorkorbSession
ORB Start Hourint9orbStartTimeHour
ORB Start Minuteint30orbStartTimeMinute
ORB End Hourint9orbEndTimeHour
ORB End Minuteint45orbEndTimeMinute
Require ORB Liquidity SweepboolfalserequireORBLiquiditySweep
SL Buffer Multiplier (ATR)float0.5slBufferMultiplier
Entry Buffer Multiplier (ATR)float0.25entryDistanceBuffer
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

ORB + ICT Backtest Strategy v2

by mccallister-dev
1 stars

This strategy defines opening range breakouts within Asian, London and New York sessions using ATR-based width and buffer filters. It identifies potential entries on breakout after a retest followed by continuation, applying ICT-style context and SMC proxies f

Strategy v6 BreakoutSMC / ICT / price action
Updated 5 weeks ago · None stated GitHub repository of ORB + ICT Backtest Strategy v2

Daily Bias + FVG Strategy

by TradersPost
228 stars

This overlay strategy plots previous-day high and low, the daily open, and fair value gap zones on the price chart. It takes entries on a selectable timeframe when the FVG requirement and an optional session window allow them, then uses an ATR or fixed pip sto

Strategy v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of Daily Bias + FVG Strategy
106 stars

This script monitors opening gap conditions and breakout behavior relative to the first candle's range across up to twenty configurable stock tickers. It detects whether following bars remain inside the opening range before breaking out, displaying the status

Strategy v4 Screeners & dashboardsBreakout Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of 1St Bar GAP+BkOut Screener v2 by RM

P404 Smoke

by Musyimi97
16 stars

P404 Smoke is a price-chart strategy that sequences an optional higher-timeframe EMA bias, a liquidity range from recent pivots, a sweep of buy-side or sell-side liquidity, and a market structure shift within a set bar window. Comments state it then looks for

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · MIT GitHub repository of P404 Smoke
7 stars

This overlay strategy tracks the high and low of a user-defined London session and plots the previous session levels as support and resistance. It flags a break beyond a level when price closes past an ATR buffer, then waits a set number of bars for a retest w

Strategy v5 Sessions & timeSupport & resistance
Updated 3 months ago · None stated GitHub repository of London SR Cleaner WR (TP 0.20)

More SMC / ICT scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

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

Compare brokers