You "cant" predict the next day's opening. All you can do is play around with the data that already exists and maybe make a projection. Once you have that projection in place i.e. calculated, you can plot it beyond the last bar using the shift feature available in the plot statements
R On 5/2/07, Vinay Gakkhar. <[EMAIL PROTECTED]> wrote:
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" <[EMAIL PROTECTED]> To: [email protected] 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 <[EMAIL PROTECTED]> wrote: > > Hello, > > If there is no data (for next bar) how can it plot the same? > > Cheers > > Prashanth > ----- Original Message ----- > From: "Vinay Gakkhar." <[EMAIL PROTECTED]> > To: "amibroker" <[email protected]> > 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 <[EMAIL PROTECTED]> > > To: [email protected] > > 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. <[EMAIL PROTECTED]> 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
