Strategy · Pine Script v5 · On the chart

ICT iFVG Continuation Engine

by kashifali1234a12-beep

A strategy that tracks fair value gaps on a higher timeframe, 15 minutes by default, and watches for price to tap a zone and then invert a one-minute fair value gap before entering.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code573
Settings20inputs
LicenceNone stated
Last update8 months ago3 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

ICT iFVG Continuation Engine trades only inside a set session window, limits trades per day, and can optionally require a liquidity sweep. The stop sits beyond the recent swing extreme plus a tick buffer, and the target is a multiple of that stop distance. Gap boxes, signals and stop and target labels are drawn on the price chart.

Details

Published by

kashifali1234a12-beep on GitHub

Type

Strategy, Pine Script v5

Draws

On the price chart

Category

SMC / ICT / price action, Sessions & time

Markets

Indices

Timeframes

M1-M5

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

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

SettingTypeDefaultVariable
Trading Hours (EST)session0930-1545i_session
Higher Timeframe for FVGstimeframe15i_htfTF
Risk:Reward Ratiofloat2.0i_rrRatio
SL Swing Lookback (bars)int10i_slLookback
SL Buffer (ticks beyond swing)int10i_minSLTicks
Max Trades Per Dayint3i_maxTrades
Max Active HTF FVGs Trackedint10i_maxHTF
Require Liquidity Sweepboolfalsei_reqSweep
Show 15m FVG Boxesbooltruei_showHTF
Show 1m FVG Boxesbooltruei_showLTF
Show Entry Signalsbooltruei_showSigs
Show Armed State Backgroundbooltruei_showArm
Show all 20 settings
SettingTypeDefaultVariable
Show SL/TP Labelsbooltruei_showSLTP
Bullish 15m FVG Colorcolorcolor.new(color.teal, 85)i_bullHTF
Bearish 15m FVG Colorcolorcolor.new(color.red, 85)i_bearHTF
Bullish 1m FVG Colorcolorcolor.new(color.green, 80)i_bullLTF
Bearish 1m FVG Colorcolorcolor.new(color.red, 78)i_bearLTF
Inverted iFVG Colorcolorcolor.new(color.purple, 70)i_invertClr
Filled/Dead FVG Colorcolorcolor.new(color.gray, 85)i_filledClr
Traded 15m Zone Colorcolorcolor.new(color.gray, 80)i_tradedClr
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

Try Trading Future

by dearvn
257 stars

This futures trading strategy combines Fair Value Gap (FVG) detection filtered by Average True Range (ATR) with multi-timeframe Exponential Moving Averages (8, 55, and 165 lengths). It identifies entry setups during a defined intraday trading session window wh

Strategy v5 SMC / ICT / price actionMoving averages Repaints
Updated 6 weeks ago · None stated GitHub repository of Try Trading Future

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
43 stars

Donald - AI Futures is a price-chart strategy that estimates inner and outer high-low zones and a smoothed close with rational quadratic kernel regression. It builds bullish and bearish momentum signals, optionally compares volume with a volume-weighted moving

Strategy v5 Oscillators & momentumSMC / ICT / price action Repaints
Updated 2 years ago · None stated GitHub repository of Donald - AI Futures

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

XAUUSD SMC Bot

by GifariKemal
15 stars

This strategy plots on the XAUUSD price chart and looks for Smart Money Concepts entries on the fifteen-minute timeframe. It scores fair value gaps, order blocks, liquidity sweeps, break of structure, and change of character, plus EMA, RSI, MACD, and higher-ti

Strategy v5 SMC / ICT / price actionOscillators & momentum
Updated 8 months ago · None stated GitHub repository of XAUUSD SMC Bot

NQ 9:45-10:15 ICT Strategy

by eddiebelaval
7 stars

This ICT-based strategy trades during the 9:45 AM to 10:15 AM New York session window. It calculates a daily bias using a 20-period daily EMA and tracks previous day highs and lows to identify liquidity sweeps. The script refines order block entry levels and m

Strategy v6 SMC / ICT / price actionSessions & time Repaints
Updated 3 months ago · None stated GitHub repository of NQ 9:45-10:15 ICT Strategy

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