
Before considering the public members of the BotTabCluster class, it is necessary to become acquainted with two classes that describe important entities of the cluster chart.
The HorizontalVolumeLine class describes data for one section within the cluster. Sections in the program are also referred to as lines. The size of the sections is set in the connection settings and is measured in price units. For example, if we set the size of the section to 10:

Fig. 1. Display of the section.
This means that the price of each section will be a multiple of 10. In our case, the price of the line is 1890, and it will aggregate the volume that has passed through the prices ranging from 1885 to 1985. Consequently, an object of the HorizontalVolumeLine class representing this section will contain volume data from this range. Let's list the significant fields of this class:
1. Price – the midpoint of the line's range.
2. VolumeSumm – the total volume of buys and sells that have passed through this range.
3. VolumeBuy – the volume of all market buys that have passed through this range.
4. VolumeSell – the volume of all market sells that have passed through this range.
5. VolumeDelta – the difference between the sums of buys and sells that have passed through this range.
The HorizontalVolumeCluster class describes a cluster for one candle. Accordingly, objects of this class will contain aggregated information about the volume that has passed within this candle.
Each cluster contains a whole number of sections. This parameter depends on the specified line step. If there is a need for an exact match of the cluster with the candle, it is necessary to set the minimum price step as the line step.
The HorizontalVolumeCluster class has a number of properties that provide access to information about the lines within one cluster:
Lines – a list of all sections belonging to the cluster.
LastUpdateLine – the last updated section.
MaxSummVolumeLine – the line of the cluster with the maximum total volume.
MinSummVolumeLine – the line of the cluster with the minimum total volume.
MaxBuyVolumeLine – the line of the cluster with the maximum buy volume.
MinBuyVolumeLine – the line of the cluster with the minimum buy volume.
MaxSellVolumeLine – the line of the cluster with the maximum sell volume.
MinSellVolumeLine – the line of the cluster with the minimum sell volume.
MaxDeltaVolumeLine – the line of the cluster with the maximum delta.
MinDeltaVolumeLine – the line of the cluster with the minimum delta.
MaxPriceLine – the line with the highest price in the cluster.
MinPriceLine – the line with the lowest price in the cluster.
If you have any difficulties or questions, please write to the support chat. Link