Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

VolumeProfile_POC_Zones - indicator for MetaTrader 5

Andriy Sydoruk
Andriy Sydoruk
🚀 Wide selection of Expert Advisors, indicators, and utilities for MetaTrader 4/5 — try before you buy:
👉 https://forex-stars.com
Views:
24
Published:
Updated:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Dynamic Volume Profile & POC ( VolumeProfile_POC_Zones ) is a lightweight, standalone market-profile indicator for MetaTrader 5 that visualizes horizontal volume concentration across a configurable lookback window. It highlights the exact price levels where the market spent the most time and trading activity, automatically identifying the Point of Control (POC) and Value Area (VAH / VAL) .

forex-stars-a

Figure 1. Dynamic Volume Profile & POC on XAUUSD (H1) with Right-Side histogram alignment, highlighting the Point of Control (POC: 4022.20) and Value Area boundaries (VAH / VAL).


Core Logic & Market Mechanics
Traditional volume indicators plot vertical bars at the bottom of the chart, showing when volume occurred. Volume Profile plots volume horizontally along the price axis, showing where institutional accumulation, distribution, and fair-value equilibrium took place:
  • Point of Control (POC): The single price level with the highest traded volume within the lookback range. It acts as a strong price magnet and primary support/resistance pivot.
  • Value Area (70% Volume — VAH & VAL): The price zone containing a specified percentage (default 70% ) of total volume around the POC. Breakouts above Value Area High (VAH) or below Value Area Low (VAL) signal directional imbalance, while rejections back inside the Value Area often lead to mean-reversion moves toward the POC.
  • Flexible Histogram Alignment: A built-in placement switcher allows anchoring the horizontal histogram either on the Right Side (extending left from the current price) or on the Left Side (overlaying the start of the lookback range).

forex-stars-b

Figure 2. XAUUSD (M1): Real-time volume accumulation near the bottom of a bearish impulse, showing price rotation and consolidation around the POC (3904.29).


How to Interpret the Indicator
  1. Price Acceptance vs. Rejection: When price consolidates near the POC (crimson line), the market is in balance. When price moves away from the Value Area and fails to hold beyond VAH or VAL (green dashed lines), look for rotation back toward the POC. Figure 3. EURUSD (H1) using Left-Side histogram overlay: price breaks below Value Area Low (VAL), finds support, and later rotates back to retest the Point of Control (POC: 1.11968) as resistance.forex-stars-c
  2. High-Volume Nodes (HVN) vs. Low-Volume Nodes (LVN): Wide blue/crimson histogram bars represent strong support/resistance clusters where price tends to stall. Thin silver bars represent low-liquidity pockets through which price usually travels rapidly. Figure 4. USDJPY (H1): High-Volume Node (HVN) distribution cluster around POC (158.129) followed by rapid price displacement through a Low-Volume Node (LVN) liquidity pocket toward VAL (157.086).forex-stars-d
Input Parameters
  • Volume Profile Settings:
    • InpLookbackBars — Number of recent bars included in the volume profile calculation (default: 150 ).
    • InpPriceBins — Number of horizontal price intervals (histogram rows) dividing the high-low range (default: 40 ).
    • InpValueAreaPercent — Percentage of total volume used to define the Value Area boundaries (default: 70.0 ).
    • InpVolumeSource — Volume data mode: Auto (uses real exchange volume if available, otherwise falls back to tick volume), Force Tick Volume , or Force Real Volume (default: VOL_AUTO ).
  • Layout & Display Mode:
    • InpProfilePosition — Switcher between Right Side (near current price) and Left Side (overlay on lookback start) alignment (default: POS_RIGHT_SIDE ).
    • InpMaxBarWidthRatio — Maximum horizontal width of the POC bar as a fraction of the lookback window (default: 0.35 ).
    • InpShowPocLine — Show or hide the horizontal Point of Control line (default: true ).
    • InpShowVaLines — Show or hide the VAH and VAL boundary lines (default: true ).
    • InpShowLabels — Display price labels ( POC , VAH , VAL ) next to the level lines (default: true ).
  • Color Scheme:
    • InpColorPoc — Color of the maximum volume bar and POC line (default: clrCrimson ).
    • InpColorVa — Color of histogram bars inside the Value Area (default: clrDodgerBlue ).
    • InpColorOutVa — Color of histogram bars outside the Value Area (default: clrSilver ).
    • InpColorVaLine — Color of the VAH and VAL boundary lines (default: clrMediumSeaGreen ).
Usage Recommendations
  • Works out-of-the-box on any Forex pair, Gold ( XAUUSD ), indices, and exchange-traded futures/stocks across all timeframes.

forex-stars-e

Figure 5. GBPUSD (M15): Intraday market profile identifying the fair-value equilibrium zone (VAH–VAL) and bearish trend continuation after breaking below VAL (1.33245).



EzoO Close All - close all, profitable, losing, buy or sell positions in one click EzoO Close All - close all, profitable, losing, buy or sell positions in one click

Script that closes positions in one click: all, only profitable, only losing, only buys or only sells, for this symbol or all symbols, with a magic filter and optional pending order delete.

EzoO Daily Loss Guard - daily loss limit and profit target for the whole account EzoO Daily Loss Guard - daily loss limit and profit target for the whole account

Daily loss limit and daily profit target for the whole account (prop firm style). When a limit is hit it closes positions, deletes pending orders and keeps the account flat until the next daily reset.

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

MACD Signals MACD Signals

Indicator edition for new platform.