Subject: Re: [amibroker] Why does this formula produce a "Referencing Future" Error
LastValue looks for the future - Last bar is "the future" for every bar other than the last.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "wes_zoltran2" <wes_zoltran@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, February 27, 2007 3:00 PM
Subject: [amibroker] Why does this formula produce a "Referencing Future" Error
> The AB Editor Check function flags this statement as referencing the
> future. I know what a future ref is, but I don't understand how this
> statement fails the test.
>
> DT = LastValue(DateTime());
>
> Can anyone explain why?
>
> Running 4.90 RC3
>
> TIA
>
>
>
>
>
> 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
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/GHeqlB/TM--------------------------------------------------------------------~->
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/