OPEN-SOURCE SCRIPT

Advanced Market Profile & S/R Zones (Pro)

35
Advanced Market Profile & S/R Zones [Pro]

This indicator brings professional Auction Market Theory to your chart using a custom rolling Volume Profile algorithm. Unlike standard profiles that remain fixed, this tool dynamically calculates the "Fair Value" of the asset based on your specific lookback period (e.g., the last 100 bars).

It automatically highlights the Point of Control (POC), Value Area (VA), and suggests statistical Discount (Buy) and Premium (Sell) zones.

Key Features

Volume Splitting Algorithm:
Most basic scripts dump the entire volume of a candle into a single price point (the average). This script splits the volume across the candle's entire High-Low range. This results in a much smoother, higher-resolution bell curve that accurately reflects price action, especially on higher timeframes like Monthly charts.

Auto-generated Zones:

Green Zone (Discount): Prices below the Value Area Low (VAL). Statistically "cheap."

Red Zone (Premium): Prices above the Value Area High (VAH). Statistically "expensive."

Real-Time Dashboard:
A built-in panel displays the exact price levels for the POC, VAH, and VAL for precise limit order placement, along with the current Market Trend.

How to Use

For Intraday (Day Trading):

Settings: Set Lookback to 100 - 300.

Strategy: Watch for price to open outside the Value Area. If price breaks back inside the Value Area, target the POC (Red Line).

For Macro (Monthly/Weekly Charts):

Settings: Set Lookback to 12 (1 Year) or 60 (5 Years).

Strategy: Identify multi-year structural support. When a monthly candle enters the Green Discount Zone of a 5-year profile, it is often a high-probability institutional entry point.

Trend Logic

The Dashboard indicates trend based on price location relative to value:

Strong Bullish: Price is accepted ABOVE the Value Area.

Strong Bearish: Price is accepted BELOW the Value Area.

Neutral / In VA: Price is chopping inside the Value Area.

Disclaimer

This is a "Rolling Profile." It calculates the profile based on the current lookback window relative to the latest bar. As new bars form, the lookback window shifts, and the profile updates to reflect the new dataset.

Exención de responsabilidad

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.