with this code (below) all symbol in watchlist 10 are erased BEFORE an exploration.
Question: If I want erase multiple watchlists (example wl10, wl15 and wl30), how I can modify the code?
thanks in advance for any help.
Question: If I want erase multiple watchlists (example wl10, wl15 and wl30), how I can modify the code?
thanks in advance for any help.
Code:
listnum = 10;
if ( Status( "stocknum" ) == 0 )
{
oldlist = CategoryGetSymbols( categoryWatchlist, listnum );
for ( i = 0; ( sym = StrExtract( oldlist, i ) ) != ""; i++ )
{
CategoryRemoveSymbol( sym, categoryWatchlist, listnum );
}
}
...
...
...