http://www.amibroker.com/guide/afl/setbarfillcolor.html ----- Original Message ----- From: trocito1997 To: [email protected] Sent: December 07, 2009 8:50 PM Subject: [amibroker] Re: Help to arrange Formula
I am using Version 5.00 Thanks --- In [email protected], "wavemechanic" <fim...@...> wrote: > > I ran your code and did not get an error. What version are you using? > ----- Original Message ----- > From: trocito1997 > To: [email protected] > Sent: December 07, 2009 7:44 PM > Subject: [amibroker] Re: Help to arrange Formula > > > > Modified and show me same error look the line: > > _SECTION_BEGIN("Chart Settings"); > SetChartOptions(0,chartShowArrows|chartShowDates); > SetChartBkColor(ParamColor("Outer Panel",1)); > SetChartBkGradientFill(ParamColor("Upper Chart",1),ParamColor("Lower Chart",23)); > GraphXSpace=Param("GraphXSpace",10,0,100,1); > dec = (Param("Decimals",2,0,7,1)/10)+1; > bi = BarIndex(); > Lbi = LastValue(BarIndex()); > sbi = SelectedValue(bi); > x1= BarCount-1; > SetBarFillColor (IIf(C>0,19,IIf(C<0,24,42))); ( AB give me error in this line ) > Plot(C,"",IIf(C>O,51,IIf(C<O,33,55)),64); > > > > --- In [email protected], "trocito1997" <trocito1997@> wrote: > > > > Hi, > > > > I am trying to use this formula but had error: > > > > Error 30 Sytax Error, Do you could help me , > > > > > > The code is: > > > > _SECTION_BEGIN("Chart Settings"); > > SetChartOptions(0,chartShowArrows|chartShowDates); > > SetChartBkColor(ParamColor("Outer Panel",1)); > > SetChartBkGradientFill(ParamColor("Upper Chart",1),ParamColor("Lower Chart",23)); > > GraphXSpace=Param("GraphXSpace",10,0,100,1); > > dec = (Param("Decimals",2,0,7,1)/10)+1; > > bi = BarIndex(); > > Lbi = LastValue(BarIndex()); > > sbi = SelectedValue(bi); > > x1= BarCount-1; > > SetBarFillColor (IIf(C>O,19,IIf(C<O,24,42))); > > Plot(C,"",IIf(C>O,51,IIf(C<O,33,55)),64); > > > > > > > > Thanks > > > > > > > ------------------------------------ > > **** 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 > ------------------------------------ **** 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
