Strategy · Pine Script v5 · On the chart

Advanced ORB + ICT Strategy

by alboogycOdR

This strategy combines Opening Range Breakout (ORB) mechanics with Inner Circle Trader (ICT) concepts like Fair Value Gaps, Order Blocks, and liquidity grabs.

View on GitHub

GitHub stars6on the repository
Pine versionv5runs as is
Lines of code624
Settings40inputs
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

Advanced ORB + ICT Strategy identifies session opening ranges and generates signals when price breaks out with supporting relative volume, high-timeframe trend alignment, and structural confirmations. Entries can be tailored to pullbacks, breaks of structure, or reversal patterns. It manages risk with percentage-based position sizing and structure-based stops, plotting session levels and setups directly on the price chart.

Details

Published by

alboogycOdR on GitHub

Type

Strategy, Pine Script v5

Draws

On the price chart

Category

Breakout, SMC / ICT / price action, Sessions & time, Support & resistance

Markets

Any symbol

Timeframes

M1-M5, M15-H1

Risk Notes

  • The strategy can add several entries in the same direction

Settings

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

SettingTypeDefaultVariable
Strategy ProfilestringBalanced Day TraderstrategyProfile
Apply Profile PresetsbooltrueapplyProfile
ORB Duration (minutes)int30ORB Duration (minutes)
Risk Per Trade (%)float1.0Risk Per Trade (%)
Start Datetimetimestamp("2024-01-01")startDate
End Datetimetimestamp("2025-12-31")endDate
SessionstringNew YorksessionType
Custom Sessionsession0930-1600customSession
Max Trades Per Dayint2maxTradesPerDay
Trade Only With HTF TrendbooltruetradeOnlyWithTrend
Use Universe FilterbooltrueuseUniverseFilter
Min Stock Pricefloat5.0minPrice
Show all 40 settings
SettingTypeDefaultVariable
Max Stock Pricefloat500.0maxPrice
Min Gap %float2.0minGap
Require Relative VolumebooltrueuseRVol
RVol Minimumfloat2.0rvolThreshold
Use ATR Range FilterbooltrueuseATRFilter
Narrow Range (% of ATR)float0.5narrowRangeMax
Wide Range (% of ATR)float1.5wideRangeMin
Avoid Wide RangesbooltrueavoidWideRange
Entry MethodstringPullbackentryMethod
Wait for Candle ClosebooltruewaitForClose
Require Break of StructurebooltruerequireBOS
Require Volume SpikebooltruerequireVolumeSpike
Volume Spike Multiplierfloat1.5volumeSpikeMultiplier
Trade Liquidity GrabsbooltrueuseLiquidityGrabs
Use Fair Value GapsbooltrueuseFVG
Use Order BlocksbooltrueuseOrderBlocks
Reversal After Liq GrabbooltruereversalAfterLiqGrab
Stop Loss MethodstringStructurestopMethod
ATR Stop Multiplierfloat1.5atrMultiplier
Move to BreakevenbooltruemoveToBreakeven
Move to BE at R:Rfloat1.0breakevenAt
Target MethodstringStructuretargetMethod
Fixed R:R Targetfloat2.0fixedRR
Scale Out PositionsbooltrueuseScaling
Scale 1 Percentfloat33scale1Percent
Scale 1 at R:Rfloat1.0scale1RR
Scale 2 Percentfloat33scale2Percent
Scale 2 at R:Rfloat2.0scale2RR
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
218 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 strategys

Trade Your Charts With a Regulated Broker

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

Compare brokers