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

[amibroker] Re: Help to arrange Formula


  • Date: Tue, 08 Dec 2009 00:44:11 -0000
  • From: "trocito1997" <trocito1997@xxxxxxxxx>
  • Subject: [amibroker] Re: Help to arrange Formula

PureBytes Links

Trading Reference Links

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 amibroker@xxxxxxxxxxxxxxx, "trocito1997" <trocito1997@xxx> 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

<*> 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:
    amibroker-digest@xxxxxxxxxxxxxxx 
    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/