[amibroker] Re: Detecting last symbol in a scan

 

I figured out why SymbolCount doesn't match the number of symbols processed by the scan: Because only symbols with bars are processed and I have some symbols with no bars.

But my question still stands: How do I detect the last symbol of a scan?

One clumsy method is to run a separate scan first that counts scannable symbols and saves that number to a static variable to be accessed by subsequent scan, but that solution doesn't seem completely safe.  (E.g., what if Premium Data Updater adds or removes symbols between the two scans?)

Thanks

__._,_.___

Posted by: rgearyiii@yahoo.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

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


.

__,_._,___


EmoticonEmoticon