Charts: Maximum Bars parameter resizes file


Q:  See how my chart is missing bars that I had yesterday.  Why?   Properties form picture included.

A:  The program is performing correctly.  It is resizing the file so the number of bars does not exceed the Maximum Bars parameter you have entered of 500.

The chart you showed has 483 bars.  It will collect 17 more bars and resize the file to 470 and accumulate up to 500 again, and then resize again.  Oldest bars are dropped to make room for new ones.    500 bars does not go as far back as you are apparently wanting the chart to show.  Solution is to increase the Maximum Bars parameter.   The upper limit for Maximum Bars is  65530, however, you should size the file for only what you need.  Larger files require more memory to hold the data and studies, take longer to load and save, and take longer to recalculate the studies.

A:  The chart has 92 bars, and will resize the file when it gets to 700 bars.

Now, lets approach the issue from a different point of view.  You have a big workspace with lots of files.  Click menu Help | Memory Report which will list all of your charts in the workspace and their Max Bar settings.  Look to see if you find multiple ER2 #F.V2800 entries, and I suspect you have more than one.  List all of their Max Bar values because the one with the smallest value is going to be the controlling chart.  Every time this chart opens the data file that is common to all of the chart windows, this chart with the smallest setting is the one that resizes the file to its Maximum Bars limit.  

The chart with the properties you showed may intend to resize the file when it gets 700 bars, but some other ER2 #F.V2800 chart already resized it to a smaller value when the workspace opened.  Possibly you will find a chart for ER2 #F.V2800 with a Max Bars parameter around 100, and that is why the current file has been resized to now have only 92 bars.  So use Help | Memory Report to discover what it is you are asking the program to do in trimming your files to a smaller size than you realize or than you want.

Last modified 8/7/08 2:46 PM