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

[amibroker] TimeFrameGetPrice( "O", inDaily, 1)



PureBytes Links

Trading Reference Links

Perhaps i could not word my question correctly. Now I say it using different words.

I want to plot TimeFrameGetPrice( "O", inDaily, 1) (not '-1', not '0', but '1') but I want the new chart to shift 1day into the future past the last bar.

How can I do it?

Thanks.

gakkhar

------- Forwarded message -------
From: Graham <kavemanperth@xxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
Cc:
Subject: Re: [amibroker] TimeFrameGetPrice( "O", inDaily, 1)
Date: Tue, 01 May 2007 07:47:48 +0530

TimeFrameGetPrice( "O", inDaily, 0) is todays open price
TimeFrameGetPrice( "O", inDaily, -1) is yesterdays open price

the shift works similar to Ref function
-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com

On 01/05/07, Vinay Gakkhar. <vgakkhar@xxxxxxxxxxx> wrote:
> Can someone please guide me on how to make the following two changes while plotting TimeFrameGetPrice( "O", inDaily, 1) : -
>
> 1) I want the result to show in price chart IMMEDIATELY AFTER data for today, so result should shift. How to do it?
>
> 2) At present the result is based on data only for the previous day. I want result to be based on data & trend for the previous 3 months, as done by neural netwrok. How to do it?
>
> Thank you all.
>
> 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

<*> 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/