Skip to content
Forex Indicator System Thailand
Back to marketplace
Volume profileIndicator

Volume Profile

Histogram of the price levels with the most activity, built from candles and tick volume

Volume Profile on an MT5 chart
Example on an MT5 chart

Download the indicator free

Download right away. Nothing to fill in.

Version
1.01
Published
11/21/2026
File size
30 KB

Open source, Apache License 2.0, by EarnForex.com. See licences

Version history

  1. 1.01Current11/21/2026 · 30 KB

    First release on this site.

How to read it

The GreenYellow histogram bars extending to the left of the vertical line show each price range. A longer bar means more candles passed through that range or more tick volume built up there. The red horizontal line is the Point of Control (POC), the level with the highest volume in the calculated window, which runs back from the vertical line by the number of units you set. People commonly look at the POC and the ranges with long bars as levels where price has spent a lot of time.

Set UnitsToScan and UnitType to cover the range you want, for example 5 days. Adjust StepPointsExt to suit the symbol, since 10 points is only the default; very fine bins create many chart objects. With UseVolume off it counts candles instead of weighting by volume. In the default mode the vertical line sits at the latest bar and the profile is recalculated on every new bar and every RefreshDelay seconds, so it changes with the forming bar. Use StartTimeType = manual to drag the vertical line yourself.

If you put several copies on one chart, give each a different IndicatorName. The data is the broker's tick volume, not real market volume. The width of the histogram is adjustable with WindowSize and depends on the chart zoom level. Use it alongside other analysis.

Parameters

NameDefaultDescription
IndicatorNameMQLTA-VPI1Short name of the indicator and prefix of its chart objects. It must be unique if you place several on one chart.
VPTimeFramePERIOD_CURRENTTimeframe on which the profile is calculated (PERIOD_CURRENT = chart timeframe).
CalculationModeCANDLE_WHOLECandle value used for the calculation: whole candle (high-low), open price, or close price.
UseVolumetrueWeight by tick volume. If off, it only counts the candles passing through each price bin.
StepPointsExt10Width of each price bin, in points.
StartTimeTypeCALC_START_LASTEnd of the calculation window: the latest candle (the line follows new candles) or manual (you drag the vertical line).
UnitsToScan5Number of time units to look back for the calculation.
UnitTypeCALC_TF_DAYSUnit of UnitsToScan: minutes, hours, days or weeks.
WindowSize1Width multiplier of the histogram.
WindowColorclrGreenYellowColour of the histogram and the vertical line.
ShowLineLabeltrueShow a text label beside the vertical line.
LineLabelColorclrRedColour of the vertical line label.
CleanLineAtClosetrueListed as an input but not used by the code; the vertical line is always deleted when the indicator is removed from the chart.
RefreshDelay10Interval in seconds at which the profile is recalculated in latest-candle mode.
ShowPOCtrueShow the Point of Control line (the busiest level).
POCSize2Width of the POC line (1 to 5).
POCColorclrRedColour of the POC line.

Defaults are the values shipped with the EA, not a recommendation. Results depend on the market and on each account. Past results do not guarantee future results. Trading carries a high risk of loss.

How to install

  1. Download the .ex5 file.
  2. In MT5, choose File > Open Data Folder.
  3. Copy the file into the MQL5\Indicators folder.
  4. Right-click Indicators in the Navigator window and choose Refresh (or restart MT5).
  5. Drag the indicator onto a chart, adjust the Inputs if you like, then click OK.

Description

Volume Profile draws a horizontal histogram on the price chart showing which price ranges had the most candles passing through or the most accumulated tick volume. Prices are split into bins of StepPointsExt points, and each bin counts candles or is weighted by tick volume depending on UseVolume. The busiest level is the Point of Control (POC), drawn as a horizontal line.

The calculation window runs backwards from a vertical line for the chosen number of units (UnitsToScan in minutes, hours, days or weeks). In the default mode the vertical line sits at the latest candle and the profile is recalculated on each new candle and every RefreshDelay seconds. In manual mode you can drag the vertical line to any point, and you can stack several copies with different IndicatorName values to view several ranges.

It can calculate from the full high-low range of each candle or from the open or close only, and on a timeframe separate from the chart. It is an analysis aid and does not open trades.

Banners from the Exness partner programme

Exness banner: gold spreads*

FXIDTH is an independent IB partner of Exness. This channel is not owned or operated by Exness.*Spreads may fluctuate and widen due to factors including market volatility, news events, market open/close, and others.*Processing times may vary depending on the chosen payment method.