Indicator · Pine Script v5 · On the chart

Moon Dev GEX Sweep & CVD

by moondevonyt

The indicator detects liquidity sweeps across key price levels and calculates a cumulative volume delta proxy.

View on GitHub

GitHub stars92on the repository
Pine versionv5runs as is
Lines of code156
Settings12inputs
LicenceCustom licence
Last update8 weeks ago30 Aug 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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 Sweep & CVD uses pivot high and low lookbacks to identify swing points, marking sweeps when price breaks beyond a level and quickly closes back inside. Features include customisable sweep reclaim windows, Power Hour session shading, strike spacing magnets for SPY and ES, and cumulative delta divergence tracking across user-defined lookback periods. All levels, lines, and sweep labels are drawn directly on the main price chart.

Details

Published by

moondevonyt on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Support & resistance, SMC / ICT / price action, Volume, Sessions & time

Markets

Stocks, Indices

Timeframes

M1-M5, M15-H1

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Pivot Lookback (bars)int5pivLen
Sweep Window (bars to reclaim)int3swpWin
Max active sweep levelsint20maxSweeps
InstrumentstringSPYinstSel
SPY strike spacingfloat5.0spyStep
ES strike spacingfloat25.0esStep
Power Hour minutes (last X of RTH)int60phMins
Power Hour shadecolorcolor.new(color.orange, 88)phColor
Show CVD proxybooltrueshowCVD
CVD fast EMAint9cvdFastL
CVD slow EMAint21cvdSlowL
Divergence lookback (bars)int20divLB
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.

Similar Pine Scripts

CRT State Engine

by alboogycOdR
6 stars

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

Indicator v5 SMC / ICT / price actionSessions & time
Updated 7 months ago · None stated GitHub repository of CRT State Engine

Smart Money Concepts

by TamTH-Dev
2 stars

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

Indicator v5 SMC / ICT / price actionSessions & time Repaints
Updated 5 weeks ago · None stated GitHub repository of Smart Money Concepts

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

Indicator v5 VolumeSupport & resistance
Updated 5 months ago · None stated GitHub repository of Weighted Volume Profile Pivot Points | Flux Charts
1 stars

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

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 11 months ago · None stated GitHub repository of Advanced Market Theory

VP

by dearvn
257 stars

This indicator calculates and plots a session-based volume profile directly on the price chart. It maps volume distribution across price levels, highlighting key structural reference points including the Point of Control, Value Area High, and Value Area Low. C

Indicator v5 VolumeSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of VP

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers