APPLIED STUDY · ORIGINAL LESSON
Learning plan and prerequisites
Before you begin: Complete volume profile and understand half-open intervals and the distinction between raw transactions and bar-level approximations.
- Allocate exact trades to declared price intervals
- Separate bin-width effects from bin-origin effects
- Report point of control as a bin when prices are grouped
Mechanism and interpretation
A price-volume histogram needs more than a list of transactions. It also needs a bin width, an origin and a boundary rule. This lesson uses intervals closed on the left and open on the right, so a trade exactly on an upper edge enters the next bin. With origin a and width w, a price p receives integer bin index floor((p-a)/w). Changing width or origin can move the histogram's largest bin even when every trade is unchanged.
A point of control calculated from grouped prices is the highest-volume bin, not necessarily a single exact price where the most shares traded. Plotting the bin center as a line is a display convention; it may not be a traded price. Compare sensitivity with the same time window and eligible transactions while varying one grouping choice at a time. If time window, data source and bin width all change together, the cause of a different profile cannot be isolated.
Worked case — synthetic data
Synthetic exact trades are 40 shares at 100.1, 30 at 100.4, 80 at 100.6, 20 at 100.9 and 50 at 101.1. Total volume is 220. With width 0.5 and origin 100, the occupied bins are [100,100.5):70, [100.5,101):100 and [101,101.5):50. The highest-volume bin is [100.5,101).
Increasing width to one with origin unchanged combines the first two bins: [100,101) contains 170 and [101,102) contains 50. Instead, retaining width 0.5 but shifting origin to 99.75 gives [99.75,100.25):40, [100.25,100.75):110 and [100.75,101.25):70. Its peak interval is now [100.25,100.75). All three histograms reconcile to 220 shares. Different peak locations arise from grouping, not from altered executed quantity or a newly discovered order at the displayed center.
Context and failure modes
Very narrow bins can produce ties or isolated single-print peaks; wide bins can conceal several separate concentrations. Decimal tick arithmetic helps keep exact-boundary trades in the intended intervals. Bar-derived profiles introduce an additional uncertainty because an OHLCV bar does not identify each trade's price. Sensitivity to that allocation model should be studied separately from the exact-trade binning exercise here. Historical concentration alone does not guarantee a future price response at the peak.
Practice task
Three trades occur at price 10 for five shares, 10.5 for eight shares, and 11 for seven shares. Use origin 10 with left-closed, right-open bins. Build occupied bins first at width 0.5 and then at width one. Identify the peak bin and reconcile total volume for each construction.
Worked practice answer
At width 0.5, [10,10.5) has five, [10.5,11) has eight and [11,11.5) has seven; the middle interval is the peak. At width one, [10,11) contains 13 and [11,12) contains seven, so the first interval is the peak. Both totals are 20. The trade exactly at 11 belongs to the interval beginning at 11, not the one ending there, under the stated boundary rule.