[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] End of Scan



PureBytes Links

Trading Reference Links

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.
__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
BEGIN:VCARD
VERSION:2.1
N:Landry;Joe
FN:Joe
ORG:Houston Investors Association
TITLE:VP Programs
TEL;WORK;VOICE:281-486-5567
ADR;WORK:;;2222 Cullen;Houston;Texas;77005;USA
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:2222 Cullen=0D=0AHouston, Texas 77005=0D=0AUSA
URL;WORK:http://houstoninvestors.com
EMAIL;PREF;INTERNET:jelandry@xxxxxxxxxxxxx
REV:20070305T115915Z
END:VCARD