One quick question. If I edit the formula in the window, and try to save it, it 
says it wants to save it in a custom folder. I say yes, and then when I try to 
load the custom version, it seems to be blank. Should I create a fresh AFL 
script from scratch rather than modify a pre-existing one? Is that how most 
people do it?

--- In [email protected], "sidhartha70" <sidharth...@...> wrote:
>
> Conrad,
> 
> Edit the code from each pane.... do this by right clicking in each pane and 
> selecting 'edit formula'...
> 
> You can specify in AFL exactly how you want something plotted. Likely if you 
> are using the default drag & drop studies (i.e. price or foreign) you will 
> have something like this in each...
> 
> _SECTION_BEGIN("Price");
> SetChartOptions(0,chartShowArrows|chartShowDates);
> _N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, 
> Close %g (%.1f%%) Vol " +WriteVal( V, 1.0 ) +" {{VALUES}}", O, H, L, C, 
> SelectedValue( ROC( C, 1 )) ));
> Plot( C, "Close", ParamColor("Color", colorWhite ), styleNoTitle | 
> ParamStyle("Style") | GetPriceStyle() ); 
> _SECTION_END();
> 
> _SECTION_BEGIN("Price");
> Ticker = ParamStr("Symbol", Name() );
> PlotForeign( Ticker, Ticker, ParamColor("Color", colorCycle ), 
> ParamStyle("Style") | GetPriceStyle() ); 
> _SECTION_END();
> 
> The line GetPriceStyle() causes both panes to be plotted using the style 
> selected in the view menu...
> 
> In a nutshell, and I know you were a gfx developer before, it's all about 
> AFL... you can do virtually anything you can imagine but your gonna have to 
> immerse yourself in the AFL manual.
> 
> 
> --- In [email protected], "Conrad Joach" <consolejoker@> wrote:
> >
> > 
> > I must be doing something wrong because this isn't working for me. I can 
> > get the two tickers split this way, however if I change the style of the 
> > chart as you suggest in step 2 below, it changes the style on both the top 
> > and bottom ticker. I would like to have candlesticks on the top ticker and 
> > line chart on the bottom ticker. How would I go about that?
> > 
> > Many thanks.
> > 
> > 
> > --- In [email protected], "Tomasz Janeczko" <groups@> wrote:
> > >
> > > 1. Double click on Charts->Basic Charts, "Price (foreign)"
> > > 
> > > 2. Use View->Price Chart style
> > > 
> > > Best regards,
> > > Tomasz Janeczko
> > > amibroker.com
> > > ----- Original Message ----- 
> > > From: "Conrad Joach" <consolejoker@>
> > > To: <[email protected]>
> > > Sent: Saturday, March 21, 2009 9:05 AM
> > > Subject: [amibroker] Re: Is it possible to refer to more than one 
> > > instrument on a single chart?
> > > 
> > > 
> > > > Thanks, that's what I'm looking to do but am not finding it apparent. 
> > > > Is this something that can be done within the window or it 
> > > > has to be done from the menu bar of the main app?
> > > >
> > > > --- In [email protected], Graham <kavemanperth@> wrote:
> > > >>
> > > >> Use separate chart panes in the one window
> > > >> -- 
> > > >> Cheers
> > > >> Graham Kav
> > > >> AFL Writing Service
> > > >> http://www.aflwriting.com
> > > >>
> > > >>
> > > >>
> > > >> 2009/3/21 Conrad Joach <consolejoker@>:
> > > >> > I saw that video. The issue is that I have two symbols with almost 
> > > >> > the exact same price, so they overlap.
> > > >> >
> > > >> > There are two things I'd like to do, but not sure how to do them.
> > > >> >
> > > >> > 1) Plot the "foreign" symbol on the bottom half of the chart window, 
> > > >> > as if it were plotted like an indicator.
> > > >> >
> > > >> > 2) Change the plot style of one of the two symbols, so one is 
> > > >> > candlestick and the other is line on close.
> > > >> >
> > > >> > I'd much rather do #1, since even with #2 I think it would still be 
> > > >> > impossible to tell the two time series apart.
> > > >> >
> > > >> > Any suggestion on how to do this?
> > > >> >
> > > >> > Many thanks.
> > > >> >
> > > >> > --- In [email protected], "Tomasz Janeczko" <groups@> wrote:
> > > >> >>
> > > >> >> Yes. See entire video section:
> > > >> >> http://www.amibroker.com/video/
> > > >> >>
> > > >> >> Best regards,
> > > >> >> Tomasz Janeczko
> > > >> >> amibroker.com
> > > >> >> ----- Original Message -----
> > > >> >> From: "Conrad Joach" <consolejoker@>
> > > >> >> To: <[email protected]>
> > > >> >> Sent: Saturday, March 21, 2009 12:25 AM
> > > >> >> Subject: [amibroker] Is it possible to refer to more than one 
> > > >> >> instrument on a single chart?
> > > >> >>
> > > >> >>
> > > >> >> >I have a need to plot two instruments on the same chart, or at 
> > > >> >> >least have a formula that refers to the pricing time series of 
> > > >> >> >two
> > > >> >> >instruments on the same chart. This should be possible but I see 
> > > >> >> >no obvious way of doing this.
> > > >> >> >
> > > >> >> > Thx for any guidance.
> > > >> >> >
> > > >> >> >
> > > >>
> > > >
> > > >
> > > >
> > > >
> > > > ------------------------------------
> > > >
> > > > **** IMPORTANT PLEASE READ ****
> > > > This group is for the discussion between users only.
> > > > This is *NOT* technical support channel.
> > > >
> > > > TO GET TECHNICAL SUPPORT send an e-mail directly to
> > > > SUPPORT {at} amibroker.com
> > > >
> > > > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> > > > http://www.amibroker.com/feedback/
> > > > (submissions sent via other channels won't be considered)
> > > >
> > > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > > > http://www.amibroker.com/devlog/
> > > >
> > > > Yahoo! Groups Links
> > > >
> > > >
> > > >
> > >
> >
>


Reply via email to