Stef, I copied the code below and get no error. Did you copy the code into a blank page of the formula editor or did you copy it into some existing code?
Dave -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of thorstef2003 Sent: Sunday, July 30, 2006 10:50 AM To: [email protected] Subject: [amibroker] Re: Charting different indicators on different Sheets The following afl was forwarded to me, courtesy Prashanth. _SECTION_BEGIN("Price"); SetChartOptions(0,chartShowArrows|chartShowDates); _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() ); _SECTION_END(); When I paste it into a custom indicator in Indicator Builder, the first line gives an error. Do I need to change some other setting? Regards, Stef --- In [email protected], "thorstef2003" <[EMAIL PROTECTED]> wrote: > > Thank you, Prashanth. > I am not able to view either afl for some reason How about a paste of > the afl into your post? > > --- In [email protected], "Prashanth" <prash454@> wrote: > > > > Hello, > > > > I have attached 2 AFL's for Sheet 1 and Sheet2. > > > > Use Sheet 1 to create Sheet 3 by inserting EMA's. > > > > Use Sheet 2 to create Sheet 4 by inserting Keltner Channels and so > on for other sheets as well. > > > > Hope you got the thinking. > > > > Cheers > > > > Prashanth > > > > ----- Original Message ----- > > From: thorstef2003 > > To: [email protected] > > Sent: Sunday, July 30, 2006 7:29 PM > > Subject: [amibroker] Re: Charting different indicators on > different Sheets > > > > > > Hi Prashanth, > > I did'nt understand what you meant at all. Could you please give > an > > example of what you mean? > > Thanks. > > Stef > > --- In [email protected], "Prashanth" <prash454@> wrote: > > > > > > Hello, > > > > > > Save in multiple file names so that you know which one to apply > on > > which page > > > > > > Regarding superiposign, yes its possible. Use PlotForeign > syntax. > > > > > > Cheers > > > > > > Prashanth > > > ----- Original Message ----- > > > From: thorstef2003 > > > To: [email protected] > > > Sent: Sunday, July 30, 2006 3:33 PM > > > Subject: [amibroker] Charting different indicators on different > > Sheets > > > > > > > > > Hi, > > > How do I use use the same indicator with different settings on > > > different sheets? > > > For example, on Sheet1 I would like only price > > > Sheet2 Price with Bollinger bands 10 > > > Sheet3 Price with 20EMA and 50EMA > > > Sheet4 with Bollinger bands 20 and Keltner channels > > > Sheet5 with 5EMA and 10EMA > > > Sheet6 Weekly chart and daily > > > And can an index price chart be superimposed on a stock price > > chart? > > > Thanks. > > > Stef > > > > > > 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 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 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/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
