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
Advanced ICT Theory - A-ICT detects displacement candles, order blocks, fair value gaps, trap zones, and reversal zones, tracking their mitigation status via price crosses or candle closes. Main inputs control displacement thresholds, ATR sizing filters, pivot lookbacks, volume confirmation, and visual styling. It renders classification boxes, mitigation lines, origin levels, and an informational dashboard. Users should note that structural identification references lookahead data.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Min Displacement Candles
int
2
minDisplacementCandles
Mitigation Method
string
Cross
mitigationMethod
Min Element Size (ATR)
float
0.5
minElementSize
Max History Bars
int
300
maxHistoryBars
Age Threshold
int
50
brokenAgeThreshold
Pending Timeout
int
10
pendingTimeout
Min Quality Threshold
int
30
minQualityThreshold
Internal Structure Lookback
int
3
internalPivotLookback
External Structure Lookback
int
10
externalPivotLookback
Major Swing Lookback
int
20
majorSwingLookback
Require Volume Confirmation
bool
true
requireVolumeConfirm
Require Candle Pattern Confirmation
bool
true
requireCandleConfirm
Show all 40 settings
Setting
Type
Default
Variable
Max Active Elements
int
10
maxElementsToDisplay
Show Identification Boxes
bool
true
showIdentificationBoxes
Show Pattern Lines
bool
true
showPatternLines
Show Origin Level
bool
true
showOriginLine
Show Mitigation Levels
bool
true
showMitigationLevels
Show Element Lines
bool
true
showElementLines
Show Trade Quality Score
bool
true
showTradeScore
Box Style
string
Solid
boxStyle
Order Block Color
color
#2962FF
type1BoxColor
Trap Zone Color
color
#FF6B00
type2BoxColor
Reversal Zone Color
color
#00E676
type3BoxColor
FVG Color
color
#9C27B0
fvgBoxColor
Box Transparency
int
85
boxTransparency
Origin Width
int
3
originLineWidth
Mitigation Width
int
2
mitigationLineWidth
Pattern Line Width
int
2
patternLineWidth
Label Offset
int
5
labelPosition
Theme
string
Professional
colorScheme
Custom Origin
color
#FFD700
customOriginColor
Custom Mitigation
color
#00BCD4
customMitigationColor
Show Main Dashboard
bool
true
showDashboard
Size
string
Large
dashboardSize
Position
string
Bottom Right
dashboardPosition
Transparency
int
20
dashboardTransparency
Show Narrative Dashboard
bool
true
showNarrativeDashboard
Position
string
Bottom Left
narrativeDashboardPosition
Transparency
int
20
narrativeTransparency
Show HTF Analysis
bool
true
showHTF
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.
This overlay indicator draws a set of higher-timeframe candles on the price chart. The user sets the timeframe or lets it select automatically, plus candle count, size, offset, margin, and whether the candles are standard or Heikin Ashi. A table can show the a
The indicator tracks four-bar fractal sweep and reclaim setups on chart timeframes of 15 minutes and above. It calculates Reclaim Strength based on where C2 closes relative to C1's range and plots level lines for the swept C1 extreme and C2 extreme. An on-scre
The indicator plots ICT displacement candles on the price chart and can switch to retracement scanning. Displacement requires a move larger than a set share of the 14-bar average high-low range, lasting at least a chosen number of bars, with optional close, pr
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 identifies fractal-based pivot highs and lows to map out market structure directly on the price chart. It detects bullish and bearish structure breaks, automatically labeling Break of Structure (BOS) and Change of Character (ChoCH) events when p
Apex Trend & Liquidity Master calculates a trend cloud using customizable moving averages expanded by a volatility multiplier directly on the main price chart. It identifies dynamic support and resistance liquidity zones from swing high and low pivots, extendi