One way is to put:
SetBarsRequired(2500,0);
at the end of your AFL.
However, search for other messages about SetBarsRequired to learn
about side effects.
Regards,
Dennis
On Sep 4, 2007, at 9:49 PM, Perumal Ramasamy wrote:
Hi members
In the Tools --->Preferences ---> Data menu, I have
defined the number of bars to load as 2500.
But whenever I launch Amibroker, it loads the entire data available
for the security which is more than 50000 bars now.
With the result, I see some impact on the speed /charting performance.
Can somebody advise me how to restrict the number of bars to load.
I use Amibroker version 4.90 Professional, and I use only Intra-
day charts.
Cheers
perumal