The safer thing to do might be to modify your code to dynamically fetch the 
watchlist index (keyed off the watchlist name) before making the call to 
CategoryAddSymbol.

See CategoryFind
http://www.amibroker.com/guide/afl/afl_view.php?id=349

Mike

--- In [email protected], "mgallau" <m...@...> wrote:
>
>  
>     I made a mistake by deleting some watch lists from the 'tree'
> 
> Now when I execute the stmt CategoryAddSymbol(" ",CategoryWatchList,nn)
> Where nn represents a watch list number, the data goes into the wrong 
> watchlist
> 
> Does anyone know how to reinstate the missing watchlists so that the relative 
> addressing to all watch lists works correctly ?
> 
> Many Thanks
>


Reply via email to