1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
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
ICT State Machine Sequential Entry advances through optional stages: Asian range bias, manipulation, New York macro windows, liquidity sweep, market structure shift, CISD, fair value gap, and retracement into that gap. Presets turn groups of stages on or off, and session, timeout, range, and gap-size inputs change when each stage can complete. It draws state labels, a dashboard, and entry zones. It does not place orders or define exits.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
1. Require Asian Range
bool
true
enableAsianRange
2. Require Manipulation
bool
true
enableManipulation
3. Require Macro Window
bool
true
enableMacro
4. Require Liquidity Sweep
bool
true
enableSweep
5. Require Market Structure Shift
bool
true
enableMSS
6. Require CISD
bool
true
enableCISD
7. Require Fair Value Gap
bool
true
enableFVG
8. Require Retracement to FVG
bool
true
enableRetracement
Quick Presets
string
Custom
preset
Show State Flow Labels
bool
true
showStateFlow
Show State Dashboard
bool
true
showStateTable
Show Entry Zones
bool
true
showEntryZones
Show all 32 settings
Setting
Type
Default
Variable
Show Debug Info
bool
false
showDebugInfo
Show Skipped States
bool
true
showSkippedStates
Show Historic Events (Last 7 Days)
bool
false
showHistoricEvents
Asian Session
session
1900-0200
asianSession
London Session
session
0200-0700
londonSession
NY Session
session
0700-1200
nySession
NY Pre-Open Macro (8:50-9:10)
session
0850-0910
macro1
└─ Enable Pre-Open Macro
bool
true
enableMacro1
NY Continuation Macro (9:50-10:10)
session
0950-1010
macro2
└─ Enable Continuation Macro
bool
true
enableMacro2
NY Close Macro (10:50-11:10)
session
1050-1110
macro3
└─ Enable Close Macro
bool
true
enableMacro3
Min Asian Range %
float
0.2
minAsianRange
Sweep Timeout (bars after macro)
int
10
sweepTimeout
MSS Timeout (bars after sweep)
int
5
mssTimeout
Min CISD Candles
int
3
cisdMinCandles
Min FVG Size (% of ATR)
float
0.1
fvgMinSize
Retracement Timeout (bars)
int
20
retracementTimeout
Risk Per Trade %
float
1.0
riskPercent
Account Balance
float
10000
accountBalance
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.
The Golden Bullet Strategy is an overlay signal indicator based on Smart Money Concepts and time-based liquidity models. It identifies liquidity sweeps of a designated reference session range during a specified hunt window. It then confirms Market Structure Sh
Indicatorv6SMC / ICT / price actionSessions & time
This indicator detects and draws the first Fair Value Gap (FVG) that forms in each hourly session based on a selected lower timeframe, with specialized handling for Regular Trading Hours (RTH) confluence windows. It draws FVG range boxes, midpoint lines, hourl
This indicator identifies Break of Structure (BOS) and Market Structure Shift (MSS) zones, plotting automated bracket levels on the price chart. It triggers signals when a reversal breaks a swing point formed inside an opposing zone, projecting stop loss and t
MyTTFM - Clean draws a higher-timeframe candle overlay on the price chart and marks related ICT fractal structure. It plots configurable HTF candles, period separator lines, midpoint levels, a T-Spot box, and labels for recent C2 and C3 patterns plus swept lev
This overlay indicator researches multi-timeframe setup zones for NQ and ES futures on the price chart. It builds chart, five-minute through four-hour zones, including transformed IFVG and BB zones, scores them, and tracks liquidity pools and structure. During
The BTMM Entry System is a price-chart overlay indicator based on the Beat the Market Maker methodology. It detects Optimal Trade Entry (OTE) second-leg patterns and Fibonacci zones, combined with multi-factor confluence analysis including EMA alignments, sess