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

Fwd: Re: [amibroker] TimeFrameGetPrice( "O", inDaily, 1)



PureBytes Links

Trading Reference Links

Dear Rakesh,

TimeFrameGetPrice( "O", inDaily, 1) will give me open price calculated for tomorrow. And I want it to be plotted in the bar next to the bar for today's open price.

I will be thankful for guidance on how to plot it like this.

Thanks.

gakkhar

------- Forwarded message -------
From: "Rakesh Sahgal" <rakeshsahgal@xxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
Cc:
Subject: Re: [amibroker] TimeFrameGetPrice( "O", inDaily, 1)
Date: Tue, 01 May 2007 22:42:16 +0530

try this(shift feature  in plot statements) and see if this is what you want

plot(O,"PrevOpen",colorblack,stylethick,Null,Null,1);

this will plot yesterday's open on today's date


R

On 5/1/07, Prashanth <prash454.ta@xxxxxxxxx> wrote:
>
> Hello,
>
> If there is no data (for next bar) how can it plot the same?
>
> Cheers
>
> Prashanth
> ----- Original Message -----
> From: "Vinay Gakkhar." <vgakkhar@xxxxxxxxxxx>
> To: "amibroker" <amibroker@xxxxxxxxxxxxxxx>
> Sent: Tuesday, May 01, 2007 8:15 PM
> Subject: [amibroker] TimeFrameGetPrice( "O", inDaily, 1)
>
>
> > 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
> >
> >
> >
>
>
>
> 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/