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
Moon Dev GEX Stack (Walls+Regime+Sweep) provides three modular components: strike walls with standard deviation bands and opening ranges, a gamma regime engine with expiration pin zones and pivot magnets, and liquidity sweep detection with power-hour shading. Configurable inputs allow traders to choose between SPY and ES strike grids, toggle individual modules, set deviation multipliers, and adjust lookback windows.
Session VWAP with standard deviation bands
Configurable strike wall grids for SPY and ES
Opening range and prior day high, low, and close levels
Gamma regime classification and pin window shading
Liquidity sweep detection and power-hour highlighting
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
A) Walls + Traps + VWAP
bool
true
modA
B) Regime + Pin + Magnet
bool
true
modB
C) Sweeps + CVD + Power Hour
bool
true
modC
Instrument
string
SPY
instSel
SPY minor spacing
float
1.0
spyMinor
SPY major spacing
float
5.0
spyMajor
ES minor spacing
float
5.0
esMinor
ES major spacing
float
25.0
esMajor
Strikes each side
int
4
numStrikes
VWAP sigma 1
float
1.0
sigma1
VWAP sigma 2
float
2.0
sigma2
OR minutes
int
30
orMinutes
Show all 35 settings
Setting
Type
Default
Variable
Show opening range
bool
true
showOR
Show prior day HLC
bool
true
showPDHL
Show strike walls
bool
true
showWalls
Show wall traps
bool
true
showTraps
ATR length
int
14
atrLen
ATR baseline (days)
int
20
atrMeanLen
VWAP cross lookback
int
40
crossWin
Pin window (mins)
int
60
pinMinutes
Pivot magnet length
int
50
magnetLen
Pin = VWAP +/- mult*ATR
float
0.5
pinMult
Show regime table
bool
true
showRegime
Shade pin window
bool
true
showPin
Show pivot magnet
bool
true
showMagnet
Pivot lookback
int
5
pivLen
Sweep window (bars)
int
3
swpWin
Max active sweep lines
int
20
maxSweeps
Power hour (mins)
int
60
phMins
Power hour shade
color
color.new(color.orange, 88)
phColor
Show CVD pane
bool
true
showCVD
CVD fast EMA
int
9
cvdFastL
CVD slow EMA
int
21
cvdSlowL
Divergence lookback
int
20
divLB
Show round-strike magnets
bool
true
showMagn
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 indicator combines six trading tools into a single chart overlay to optimize indicator limits. It calculates Bollinger Bands, projects weekend price boundaries, plots market structure elements like order blocks, breaker blocks, and MSB lines, marks New Yo
This overlay indicator maps a timed CRT session range and draws a range box, supply and demand zones, a midpoint take-profit line, and optional entry labels. It tracks range, manipulation, and distribution states, and can filter signals with market structure,
Indicatorv5SMC / ICT / price actionSessions & time
This overlay indicator marks ICT liquidity void fills on the price chart and can show long and short signals. It places a Fibonacci level inside a displacement candle, defaulting to the midpoint, and draws lines in a chosen style. Optional filters limit the fi
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 marks forex trading sessions and opening ranges on the price chart. It can draw Sydney, Tokyo, Frankfurt, London, and New York session boxes or five- and fifteen-minute opening ranges, plus an optional opening channel and a day-open range. Day r
This Pine Script indicator overlays institutional liquidity levels on the price chart. It identifies order block levels using pivot highs and lows, then draws mean reversion lines from the 20 and 50 period simple moving averages, a volatility range midpoint pr