Skip to content
All library documents

ClusterBox: Mapping Tick Volume Across Candle Price Ranges

Article MQL5 code base

Summary

ClusterBox presents tick-volume distribution within each candlestick by dividing its price range into clusters of a configurable point height. Since candle heights vary, the number of clusters varies from candle to candle. Labels show the tick count in each cluster, with colors assigned to configurable volume thresholds, making concentrations of activity visible across a candle’s vertical range.

Historical values depend on tick data collected before the indicator is attached, either from a locally generated tick file or an archive. Without historical rendering, it displays values as new ticks arrive. The document notes that Forex chart volume represents tick counts rather than actual traded volume, while suggesting tick counts can still be analyzed similarly. It explains the display and data requirements, but provides no trading rules, performance evidence, or validation that tick-volume concentrations predict price behavior.

Key ideas

  • The indicator divides each candle’s price range into clusters of a configurable height in points.
  • Each cluster’s tick count is displayed with a color determined by user-defined volume thresholds.
  • Candles of different heights contain different numbers of clusters.
  • Historical display requires prior tick data, while live values update as new ticks arrive.
  • Forex tick volume counts price updates and does not directly measure actual traded volume.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.