[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

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@xxxxxxxxxps.com, "goethe4110" <jamie@xxx> 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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___