Indicator · Pine Script v6 · On the chart

Advanced Market Theory

by wings4

Advanced Market Theory calculates Market Profile, TPO, and Hybrid profiles directly on the price chart.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code1,241
Settings35inputs
LicenceNone stated
Last update11 months ago23 Nov 2025

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

Advanced Market Theory identifies key structural levels including the Point of Control, Value Area High and Low boundaries, Initial Balance range projections, single prints, poor highs and lows, and volume nodes. The indicator generates confluence-based signals such as Fade, Breakout, Rotation, Liquidity, and Elite setups complete with stop loss and target projection lines. Settings allow customization of profile modes, tick resolution, value area percentages, and CVD divergence parameters.

Details

Published by

wings4 on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

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

Markets

Any symbol

Timeframes

M1-M5, M15-H1, H4 and above

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
Profile ModestringHybridprofileMode
Price Resolution (ticks)int20profileResolution
Profile Transparency %int80profileTransparency
Enable Composite ProfilesbooltruecompositeEnabled
Composite Sessions Historyint5compositeSessions
Track POC MigrationbooltruemigrationTracking
Use CVD in SignalsbooltrueuseCVDSignals
CVD Divergence Threshold %float10.0cvdDivergenceThreshold
CVD Extremes Multiplierfloat5.0cvdExtremesMultiplier
Signal ModestringElitesignalMode
Min Confluence Scoreint3confluenceRequired
IB Range ProjectionsbooltrueshowProjections
Show all 35 settings
SettingTypeDefaultVariable
Show Trading SignalsbooltrueshowSignals
Highlight Single PrintsbooltrueshowSinglePrints
Mark Poor Highs/LowsbooltrueshowPoorStructure
Show LedgesbooltrueshowLedges
Rank Volume NodesbooltrueshowVolumeNodes
HVN Threshold %float150nodeThreshold
Show Composite VAH/VAL/POCbooltrueshowComposite
Show Day Type ClassificationbooltrueshowDayType
Value Area %float75.0vaPercentage
VA Smoothingint4vaSmoothing
RTH Sessionsession0930-1600sessionStart
ETH Sessionsession0000-0930ethSession
Multi-Session AnalysisboolfalseuseMultiSession
Initial Balance (minutes)int60customIBMinutes
Stop Loss ATR Multiplierfloat1.0stopMultiplier
Target 1 Multiplierfloat1.5target1Multiplier
Target 2 Multiplierfloat3.0target2Multiplier
Profile StylestringGradientprofileStyle
Transparency ModestringDynamictransparencyMode
Animate DevelopmentbooltrueanimateProfile
Enable DashboardbooltruedashboardEnabled
PositionstringTop RightdashPosition
ThemestringDark ProdashTheme
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

Moon Dev GEX Sweep & CVD

by moondevonyt
92 stars

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

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 8 weeks ago · Custom licence GitHub repository of Moon Dev GEX Sweep & CVD

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

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