[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] WRONG RESULTS



PureBytes Links

Trading Reference Links

Hello,

If you are trying to access data for which there is no data, it will return
only current data.

Try running Ref(C,4) for data 10 days back or even 5 days back and it shall
give the correct result.

Cheers

Prashanth
----- Original Message ----- 
From: "Vinay Gakkhar." <vgakkhar@xxxxxxxxxxx>
To: "amibroker" <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, May 27, 2007 11:39 AM
Subject: [amibroker] WRONG RESULTS


> The formula "ref( CLOSE, -4 )" is supposed to return the closing price 4
periods ago. and the formula "ref( C, 4 )" is supposed to return the closing
price 4 periods ahead.
>
> But on my computer it returns the same data as "(Close, 0)" when I use "C,
4"1 or 2 or 3 or 5 or any other positive figure. On the other hand, it
returns the correct data for minus figures.
>
> Will anyone please check whether it is really so, or whether I am
committing some mistake somewhere and will please guide me?
>
> gakkhar
>
>
>
>
>
> 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
>
>
>



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/