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" <[EMAIL PROTECTED]> To: <[email protected]> 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 > > > > >
