Hi jef,
There is no built-in limit to the number of hi/low bars. In practice, it is limited by your computer resource (eg. the amount of memory). In a normal computer, you can easily plot millions of hi/low bars without any issue.
I am not sure what type of "hi/low bars" you are plotting. Sometimes the open/high/low/close bar in a finance chart can be called a high/low bar. The box-whisker symbol also is sometimes used for high/low bars. The ChartDirector sample code includes examples of these chart types with more than 5 bars and they work fine.
If your code works with 5 bars, but not 6 bars, the most common reason is memory corruption. In C++, the programmer needs to manage memory allocation. May be you can check if your code has allocated enough memory for your data.
Best Regards
Peter Kwan |