The following code
will clear old tickers
and add the found tickers to the watchlist:

CategoryRemoveSymbol("", categoryWatchlist, 1);

Buy= C> 125 AND C< 200;

if( LastValue(Buy) )
CategoryAddSymbol("" , categoryWatchlist, 1);


But it is not working
if watchlist 1 has a name like 'Buys'.

I have tried things like:

Buys= 1;
CategoryRemoveSymbol("", categoryWatchlist, Buys);

with no success.

Is there a way to work with named watchlists?

Reply via email to