Announcement

Collapse
No announcement yet.

Line/Tick chart scaling

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Line/Tick chart scaling

    Hi. When a chart’s type is set to “Line/Tick” and the price source set to HLC/3, the amount of white space at the top and bottom of the chart doubles or triples even though in chart properties “Top and bottom offset” are set to zero and the Auto Scale All is enabled. This occurs whether the chart is a one minute, 60 seconds or Volume bar chart. It seems to be scaling the chart as if it is a standard OHLC bar chart. This isn’t a big thing but I value chart space and don’t like to waste it. I can compensate for the excessive white space by adding a few lines of code to include a loop finding the highest and lowest HLC/3 over the usual number of periods the chart displays and then setStudyMin() and setStudyMax() to reset the chart’s scale but I also don’t like using anything that eats CPU unless it’s necessary. Is there another setting I’m missing that will reduce this white space? Thanks.

    Mike
    Last edited by mikejhelms; 06-29-2010, 02:51 PM.
Working...
X