Volume Multiplier

From MultiCharts
Revision as of 14:31, 22 October 2018 by Abeloglazova (talk | contribs)
Jump to navigation Jump to search

When we designed MultiCharts, reasonable memory usage, stability and high operation speed were prioritized, thus, the optimal data sizes were installed on various software levels in order to achieve the reasonable usage. One of the decisions was to limit a tick’s volume value to 32 bits (max is 4,294,967,295), while the other resolutions can be 64 bits (max is 18,446,744,073,709,551,615).

For the majority of the markets MultiCharts uses whole digit volume values, while there are some other markets that operate on fractional digits. Fractional numbers are especially used in the cryptocurrency markets where you can purchase or sell 1/100 000 000 of a lot.

Volume Multiplier feature helps to avoid a zero-volume scenario with priority being signals and indicators.

Unfortunately, on the fractional markets, it is impossible to guarantee the complete accuracy of the volume values due to the cut-off of the fractional part. For example, the minute bar chart created from ticks may have a different volume, when compared to the historical minute bars received from the data provider. That is why in order to use the Volume Multiplier, it is necessary to evaluate the trade volumes to find an optimal value taking into the account the min-max amount of decimals and the max whole number.

A notification system established via Message Center can notify the user about several cases:

  1. The Volume value multiplied by the selected multiplier and equated to an integer number is less than 1.
  2. The Tick Bar Volume value multiplied by the selected multiplier and equated to an integer number is greater than the max supported 32 bit value (4,294,967,295).
  3. The Volume value of a non-tick resolution multiplied by the selected multiplier and equated to an integer number is greater than the max supported 64 bit value (18,446,744,073,709,551,615).