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

[amibroker] Re: different time frame within single pane?



PureBytes Links

Trading Reference Links

ok, thanks graham. i got around it by creating 3 linked windows, tiled
horizontally one above the other, each in different timeframe. i can
use this layout to scroll through symbols in a watchlist. i do have
one question about this though... (posting to follow)

--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxx> wrote:
>
> You can only have the same timeperiod X axis within a single window.
> It is possible to chart longer timeframe bars (eg weekly over daily
> axis) but you will not see the X axis change from daily bars. There
> are a series of timeframe functions for plotting longer periods,
> rather than the old method in the library wihch was written prior to
> the timeframe functions.
> 
> You need to open a new window to get different bar periods.
> 
> 
> -- 
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://www.aflwriting.com
> 
> 
> On 16/03/07, mytakeismine <mytakeismine@xxx> wrote:
> > Jim,  Graham Kavanagh did a nice job with a monthly chart here is
> > where that is
> > http://www.amibroker.com/library/formula.php?id=249
> >
> > I am also new so I can't be of much more help, I am looking to do the
> > same though at some point
> >
> > mytake
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "goethe4110" <jamie@> wrote:
> > >
> > > hi all, i'm a newbie, and have a question i'm hoping someone here
> > can
> > > help me with. i am trying to find out if it's possible to have one
> > > pane within a multi-pane chart window use a different time frame
> > from
> > > the other panes, which would continue to use whatever the window
> > > itself is set to. (am using only eod data). for example, the upper 2
> > > panes would display weekly bars, while the bottom pane would display
> > > daily bars. i modified the default "Price" formula, incorporating
> > the
> > > TimeFrameSet function into it - which seemed like the one which
> > might
> > > accomplish this change. but it did not work; it had no effect at
> > all.
> > > (note that i did have some success here in using the SetChartBkColor
> > > function to replace white bkgrd with a light gray, which i prefer).
> > > here is the revised code:
> > >
> > > _SECTION_BEGIN("bkgrdcolortest");
> > > SetChartOptions(0,chartShowArrows|chartShowDates);
> > > SetChartBkColor( ColorRGB(240,240,240));
> > > _N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %
> > g,
> > > Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC
> > (
> > > C, 1 ) ) ));
> > > Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle |
> > > ParamStyle("Style") | GetPriceStyle(), TimeFrameSet (inDaily) );
> > > _SECTION_END();
> > >
> > > i don't really know what i am doing yet with AFL (probably obvious!)
> > > so perhaps i've got the TimeFrameSet in the wrong place, not using
> > > properly, etc.
> > >
> > > any help much appreciated.  TIA  -jim
> > >
> >
> >
> >
> >
> >
> > 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
> >
> >
> >
> >
>




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Transfer from your equities account.  
Receive up to $1,000 from GFT. Click here to learn more.
http://us.click.yahoo.com/aZttyC/X_xQAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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/