Where’s the
“AB environment Off”
switch?
-----Original
Message-----
From: amibroker@xxxxxxxxxxxxxxx
[mailto:amibroker@xxxxxxxxxxxxxxx]On Behalf
Of Ton Sieverding
Sent: Saturday, June 16, 2007 2:07
AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Re: New
file uploaded to amibroker
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 -----
To: amibroker@xxxxxxxxxxxxxxx
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