I'd appreciate some help please.
I use this logic to control the
initial work in a SCAN
if ( Status( "action" ) == 3 AND Status( "stocknum" ) == 0 ) // 3 is SCAN, 4 is an Explore running a scan and it's
the 1st stock
{
.....work,
clear watchlists or static variables etc.
}
What logic can I use to trigger writing out the
results of the SCAN to disk.. The approach that comes to me is to
pull the watch list and count the tickers to find the
number (ordinal); or retrieve the symbol of the last ticker in the
string.
Is there a better way? Like "END OF
WATCHLIST".
if ( Status( "action" ) == 3 AND Status( "stocknum" ) == ordinal of the
last stock ) //
{
write files
}
Thanks
Joe L.