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
Order Flow Strategy (OFS) evaluates higher-timeframe value structure across custom timeframes alongside value area profiles (VAH, POC, VAL) and Fibonacci discount or premium zones. It detects trapped liquidity and aggressive order flow absorption to highlight potential setups during specified session windows. The indicator displays targets, stop levels, and a dashboard panel on the main price chart. Settings configure session hours, daily trade caps, consecutive loss rules, profile periods, and gamma levels.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Layered glow effects
bool
true
glowOn
Color event candles (absorption, entries)
bool
true
colorEvents
Color all other candles by delta
bool
false
colorByDelta
Tint the trade window
bool
true
showWindowBg
Buyers · Neon Green
color
#00FF9C
cBull
Sellers absorbed · long targets · Electric Cyan
color
#00E5FF
cCyan
Sellers · Neon Red
color
#FF2D55
cBear
Buyers absorbed · short targets · Magenta
color
#FF2BD6
cMagenta
Sellers wave · Purple
color
#A855F7
cPurple
Value area · Indigo
color
#536DFE
cValue
Point of control · Gold
color
#FFC400
cGold
Absorption · invalidation · Amber
color
#FF9F1C
cAmber
Show all 40 settings
Setting
Type
Default
Variable
Text · Silver
color
#C0C6D4
cSilver
Muted · Grey
color
#6B7280
cGrey
Trade window
string
MODE_NY
windowMode
Custom session
session
0930-1100
customSess
Custom session timezone
string
America/New_York
customTz
Max trades per day
int
2
maxTrades
Stop for the day after consecutive losses
int
2
maxLossStreak
Structure timeframe 1
timeframe
60
htf1
Structure timeframe 2
timeframe
240
htf2
Structure swing strength
int
3
htfSwing
Gamma regime (from your GEX source)
string
Not set
gexRegime
Call wall (0 = off)
float
0
callWall
Put wall (0 = off)
float
0
putWall
Gamma flip (0 = off)
float
0
gammaFlip
Skip setups in positive gamma
bool
false
skipPosGamma
Value area
string
Developing (current session)
vaSource
Session length
string
Daily
profilePeriod
Cash session hours
session
0930-1600
cashSess
Cash session timezone
string
America/New_York
cashTz
Value area %
float
70
vaPct
Profile row height (x ATR)
float
0.5
rowAtr
Developing value: minimum bars
int
12
minDevBars
Swing strength (bars each side)
int
5
swingLen
Impulse leg lookback (bars)
int
60
legLookback
Zone level 1
float
0.705
fibA
Zone level 2
float
0.788
fibB
Zone level 3 (invalidation)
float
0.886
fibC
Zone must sit outside the value area
bool
true
needOutsideVA
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.
Cumulative Volume Delta Strategy by Flux Charts is an overlay indicator that combines anchored Cumulative Volume Delta analysis with Smart Money Concepts structure detection. It generates buy and sell signals based on price retracements into identified Fair Va
This indicator overlays Wyckoff schematic analysis on the chart, identifying accumulation and distribution phases (A through E) alongside key events like Selling Climax, Automatic Rally, Spring, UTAD, and Sign of Strength. It calculates range quality scores, a
The Holographic Market Microstructure indicator overlays market structure and smart money insights directly on the price chart. It identifies liquidity voids, order flow imbalances, accumulation zones, price and volume divergences, and fractal market structure
This overlay indicator maps market structure and a volume-weighted average on the price chart. It plots bullish and bearish structure from a pivot period, with an optional response length for shorter or longer structure. Premium and discount areas can be shade
This overlay indicator template plots previous-day and previous-week highs and lows and marks liquidity sweeps when price pierces a level on elevated volume and closes back inside. It builds a rolling volume profile with point of control and value area, plus a
This indicator evaluates institutional market structure by tracking five core behaviors: liquidity sweeps with reclaims, stopping volume, range compression and expansion, breaks of structure, and order block mitigations. When a user-defined minimum number of p