There ain't no such thing as an array created with AFL that is outside the AB environment.
--- In [email protected], "Ton Sieverding" <[EMAIL PROTECTED]> wrote: > > You are focussing on the AB environment. Forget for a moment charts and financial time series. BarCount etc. is typical for AB. I am just talking about an array being created in AFL without the AB environment ... > > Regards, Ton. > > ----- Original Message ----- > From: gp_sydney > To: [email protected] > Sent: Saturday, June 16, 2007 2:13 AM > Subject: [amibroker] Re: New file uploaded to amibroker > > > > Shouldn't be a problem to have an array have more elements then you > > need > > The problem is the opposite, when the chart has less bars than the > array size you need. > > This is easily fixed in a backtest or exploration though by testing > BarCount before referencing the array, and not referencing it if > BarCount is too small. > > Regards, > GP >
