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
A.W. Strategy tracks breaks of structure, fair value gaps, 79% retracements, liquidity sweeps, and intrabar delta alongside relative volume and big prints. Signals print on candle close when six of ten conditions align, marking ATR stop and target levels. Main settings control swing length, gap sizing, delta z-score thresholds, higher timeframe trend filtering, and London or New York sessions. Although titled a strategy, it runs as an indicator without native backtest execution.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Swing length (bars on each side)
int
5
swingLen
A break needs a candle close beyond the swing
bool
true
breakOnClose
Show BOS / CHoCH
bool
true
showBos
Structure breaks to keep on the chart
int
4
bosKeep
Entry retracement
float
0.79
fibLevel
Touch tolerance (x ATR)
float
0.10
fibTolAtr
Show the 79% level
bool
true
showFib
Smallest gap (x ATR)
float
0.15
minGapAtr
Gaps to track
int
20
maxGaps
Forget gaps older than (bars)
int
400
maxGapAge
Order-flow memory (events)
int
10
ofMemory
Zones to draw (nearest to price)
int
6
maxDrawn
Show all 40 settings
Setting
Type
Default
Variable
Show FVGs
bool
true
showFvg
Show inverse FVGs
bool
true
showIfvg
Delta from intrabars of
timeframe
1
deltaTf
Volume average length
int
20
rvolLen
Relative volume that counts
float
1.0
minRvol
Delta z-score lookback (bars)
int
30
dzLen
Unusual delta (z-score)
float
1.5
dzMin
One side dominates at (% of volume)
float
60
buyDomPct
CVD trend over (bars)
int
5
cvdBars
Mark big prints
bool
true
showBig
Big print at (x average intrabar volume)
float
4.0
bigMult
Timeframe 1
timeframe
5
tf1
Timeframe 2
timeframe
15
tf2
Timeframe 3
timeframe
30
tf3
Trend filter
string
Timeframe 3
htfFilter
Only signal inside a session
bool
true
useSess
London
session
0200-0500
sessLdn
New York AM
session
0830-1100
sessNyAm
New York PM
session
1330-1530
sessNyPm
Shade sessions
bool
false
showSessBg
Minimum score to signal (of 10)
int
6
minScore
Stop buffer (x ATR)
float
0.25
stopAtr
Skip if the stop is wider than (x ATR)
float
3.0
maxRiskAtr
Target 1 (R)
float
1.0
tp1R
Target 2 (R)
float
2.0
tp2R
Stop to breakeven after target 1
bool
true
beAfterTp1
Exit when structure flips
bool
true
exitOnFlip
Exit when order flow is disrespected
bool
true
exitOnOf
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 indicator detects liquidity sweeps across key price levels and calculates a cumulative volume delta proxy. It uses pivot high and low lookbacks to identify swing points, marking sweeps when price breaks beyond a level and quickly closes back inside. Featur
CRT State Engine is an overlay indicator that maps New York-timed CRT models, unmitigated order blocks, market structure, liquidity pools, and volume profile on the price chart. It can draw session boxes for Asia, London, London lunch, and New York and optiona
Indicatorv5SMC / ICT / price actionSessions & time
This indicator maps market structure and session activity directly on the price chart. It detects and labels internal and swing structures with customizable confluence filters and candle coloring. Additionally, it highlights major trading killzones including N
This overlay indicator builds a weighted volume profile over a chosen number of bars and plots pivot points with a point of control line on the price chart. Volume can be weighted toward recent, normal, or past bars, and swing length, row count, and alignment
Advanced Market Theory calculates Market Profile, TPO, and Hybrid profiles directly on the price chart. It identifies key structural levels including the Point of Control, Value Area High and Low boundaries, Initial Balance range projections, single prints, po
This indicator overlays liquidity heatmaps, footprint bars, and imbalance detections on the price chart. It calculates liquidity zones using sweep percentages and wick weights, displays volume candle deltas, and detects order imbalances based on volume ratios.