Thanks again, i get an error like this:

SECTION_BEGIN(
------------^

Error 30.
Syntax error

--- In [email protected], "pftrader" <[EMAIL PROTECTED]> wrote:
>
> 
> _SECTION_BEGIN("Performance Exploration");
> 
> LookBack = Param("LookBack Period", 10, 1, 100, 1);
> list =  "$SPX,A,AA,AAPL,ABC,ABI,ADM,AIZ";
> 
> if(Status("action") == actionExplore)
> {
> 
>     for( i = 0; ( symbol = StrExtract( list, i ))  != ""; i++ )
>     {
>        CategoryAddSymbol(symbol,categoryWatchlist,0);
>     }
> 
>     fvb = BarCount-1 - LookBack;
>     fc = C;
> 
>     if( ! IsNull( fc[ fvb ] ) )
>     {
>           Performance = 100 * ( fc - fc[fvb ])/ fc[ fvb ];
> 
>     }
> 
> 
>     Filter = InWatchList( 0 ) AND Status("lastbarinrange");
>     AddColumn(performance,"Performance % " );
> 
> }
> 
> _SECTION_END();
>


Reply via email to