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

Re: CORRECT RESULTS, was Re: [amibroker] WRONG RESULTS



PureBytes Links

Trading Reference Links

Dear Prashanth,

With this mail from Tomasz, it is clear to me that your advise was right. It was NOT the programmer's intention to say what I thought he was saying.

My apologies, Prashanth, and my thanks, Tomasz, for giving clarity.

gakkhar

On Mon, 28 May 2007 02:43:27 +0530, Tomasz Janeczko <groups@xxxxxxxxxxxxx> wrote:

> Are you serious? Do you expect Ref( C, 4 ) to give you result for 4 days ahead from TODAY?
> AB is not crystal ball.
>
> You have to set selected date to FOUR DAYS BACK and then it will be able to refer to "future" bars into the "future" (relative to
> selected PAST bar).
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "Vinay Gakkhar." <vgakkhar@xxxxxxxxxxx>
> To: "amibroker" <amibroker@xxxxxxxxxxxxxxx>
> Sent: Sunday, May 27, 2007 8:09 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
>
>
>




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/