Does MaxBarCount apply to the # of ticks to be loaded?

Questions about MultiCharts and user contributed studies.
2haerim
Posts: 502
Joined: 01 Sep 2006
Been thanked: 2 times

Does MaxBarCount apply to the # of ticks to be loaded?

Postby 2haerim » 16 Oct 2007

I plotted a 1 tick chart from GS source ranging from 2007/01/01 to present.
GS surely has ticks for that data range, but after plotting the 1 tick chart, MC plots only from 2007/09/04. I've checked the BarNumber and it showed 1,018148.

I know MaxBarCount defaults to 1,000,000 when installing MC.

I am not sure why MC stopped plotting there.

Please check this.

And also I would like to know how to make MC to plot as many ticks as I want up to the maximum extent.

=> I noticed that QM's Event Log clearly shows it stopped Data request on 2007/09/04 and didn't request any further. That's why I got the chart plotted only from 2007/09/04 even though I set the data range from 2007/01/01.

Why the data request stopped on 2007/09/04?

Please describe in detail if there are any limits on the # of ticks.

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 17 Oct 2007

Dear Haerim,

You are right mentioning that there is a 1,000,000 limit on MaxBarCount in the registry. However, when the data is requested it is received in portions, so the number of the last bar plotted will not necessarily be exactly 1,000,000. MultiCharts simply checks the number of bars, and if at some point it sees that the value is over 1,000,000 it just doesn't request any more bars. It might stop at say 1,000,543.

To change the number of bars that can be plotted the MaxBarCount must be changed in the registry. To do that, you need to go to HKEY_CURRENT_USER\Software\TS Support\MultiCharts\Shaper
and change the value of MaxBarCount.

Regards.


Return to “MultiCharts”