[amibroker] Matrix size & run-once-at-end

 

I'm doing some indicator vs return statistical testing. I've been
constructing a matrix to store my counts. That's worked fine for
individual stocks & small watchlists, but is starting to encounter
issues with larger watchlists.

1) What are the size limitations on a matrix? And also size limitations
on MxToString, MxFromString and StaticVarSetText/GetText?

Most indicators have a typical range of only a couple of hundred
significant digits, but invariably some have outliers in the thousands
or tens of thousands. The fgets function mentions a 1024 character limit
before needing to concatenate - if there are similar restrictions on the
matrix<->string, matrix size or staticvar*text functions that would be
relevant to how (and when) I start worrying about outlier handling. It's
also a factor for bin sizing.

2) I've read
http://www.amibroker.com/kb/2015/10/06/how-to-run-certain-piece-of-code-only-once/

I have some code elements I don't want to run until after I've finished
making my entire matrix (i.e. after the price data for all stocks in the
watchlist has been run through & my matrix is fully formed). Is there a
(multithreaded) way to run a section of code once at the end?

Currently I'm handling it by having two explorations (one to construct &
save the matrix, then another to process, display & export the results),
but that approach feels a bit clunky.

Thanks.

__._,_.___

Posted by: pache <amilist@moerae.net>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? The Yahoo Mail app is fast, beautiful and intuitive. Try it today!

**** 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