The default number of bars shown in the right-hand side of the chart area is defined in Tools->Preferences->Charting<\/strong>:<\/p>
<\/p>
It is also possible to extend the blank bars area manually. Pressing END<\/strong> key on the keyboard will add 10 extra bars with each keystroke. Pressing HOME<\/strong> will reset the blank bars area back to default value from Preferences.<\/p>
Number of bank bars can also be controlled using SetChartOptions() function from the code.<\/p>SetChartOptions<\/span>( <\/span>0<\/span>, <\/span>0<\/span>, <\/span>chartGridMiddle<\/span>, <\/span>0<\/span>, <\/span>0<\/span>, <\/span>100 <\/span>);
<\/span>Plot<\/span>( <\/span>Close<\/span>, <\/span>"Close"<\/span>, <\/span>colorDefault<\/span>, <\/span>styleBar <\/span>)<\/code>
Detailed documentation of SetChartOptions function is available in the manual:
http:\/\/www.amibroker.com\/f?SetChartOptions<\/a><\/p>","protected":false},"excerpt":{"rendered":"