← Script Marketplace
Open-source scriptindicator/v1

Volume Profile

by Kodexius·@kodexius·

Map traded volume across price levels with point of control and configurable value-area highlighting.

#price-levels#volume#volume-profile
Volume Profile chart preview
Open-source script. Everyone can inspect the source code, use the script on a chart, and save an editable copy.

About this script

A volume-by-price profile built from the candles currently loaded on the chart. Configure the number of buckets and value-area percentage to inspect high-volume price zones and the point of control.

Source code
mpl-2.0
// Volume distribution across price levels
indicator("Volume Profile", { overlay: true });

const bins = input.number("Buckets", 24, { min: 4, max: 100 });
const valueArea = input.number("Value area", 0.68, { min: 0.5, max: 0.95, step: 0.01 });

volumeProfile({
  bins,
  side: "right",
  widthFraction: 0.25,
  valueArea,
  color: "#3b82f6",
  valueAreaColor: "#22d3ee",
  pocColor: "#f59e0b",
});

Release notes

Initial official release.