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" <trocito1...@...> 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
>


Reply via email to