PureBytes Links
Trading Reference Links
|
Without wanting to state the obvious, your code is trying to access an
element of an array of either zero or more than barcount-1.
I assume the error is occuring somewhere within the for...next loop
where array elements are accessed in the format array[i]...?
--- In amibroker@xxxxxxxxxxxxxxx, "foxblade2000invest" <foxblade@xxx>
wrote:
>
> I've not directed this directly to Howard who I don't want to hassle
> (but feel free to help out Howard......:-)
>
> I'm running Monte Carlo analysis as suggested on pg 303 of the book.
> I've input my own system - other than that I'm sure it's as
> described in the book.
>
> When I press optimize, the process starts but before a full run is
> complete, I get the following error message;
>
>
>
> "NormCDF[57]=-0.176;
>
> NormCDF[58]=-0.202;
>
> NormCDF[59]=-0.228;
>
> NormCDF[6
> --------^
>
> Error 10.
> Subscript out of range.
> You must not access array elements outside 0..(BarCount-1) range2
>
>
>
>
> Can anyone help?
>
> Thanks,
> Rich
>
------------------------------------
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|