PureBytes Links
Trading Reference Links
|
Tomasz,thanks for your reply.
I have my database setting for Base time interval set to Tick.
Does this mean that I can not plot the trend from a 259 tick chart in
a 13 tick chart ?
I would also like to be able to plot the previous High and Low of the
259 tick chart in the 13 tick chart.
If this is possible how would I code it? I have tried, but so far I
am unsuccessful.
Thanks for your help,
Greg
--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx>
wrote:
>
> The code will work if you apply it to 1-tick chart.
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "tedd2pumpkin" <gregbean@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Wednesday, December 12, 2007 3:02 PM
> Subject: [amibroker] Time Frame Functions with n-tick charts
>
>
> > Hi,
> >
> > I am using n-tick charts and would like to plot a ribbon that
shows
> > the trend as defined in a 259-tick time frame. How can I correct
the
> > following code to do this, please?
> >
> > TimeFrameMode(1);
> > TimeFrameSet(259);//259t
> > bbtrendup259 = H > Ref(H,-1);
> > bbtrenddown259 = L < Ref(L,-1);
> > TimeFrameRestore();
> > //Ribbon
> > up = TimeFrameExpand(bbtrendup259,259) ;
> > down = TimeFrameExpand(bbtrenddown259,259) ;
> > Plot( 10,/* defines the height of the ribbon in percent of pane
> > width
> > */"",IIf(up, colorAqua,IIf(down, colorPink,colorYellow )), /*
choose
> > color */
> > styleOwnScale|styleArea|styleNoLabel, -0.5, 100 );
> >
> > Thanks,
> >
> > Greg
> >
> >
> >
> > 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/
|