Hi,
I'm doing some statistical explorations of indicators. This has me
creating a matrix from my watchlist, then creating scattercharts &
exporting CSVs from the matrix. The simplest way I've found to do this
is by creating two separate formulae - one to make the matrix & the
second to process the matrix - with (non-persistent) StaticVars to let
them communicate. I'm using version Amibroker 6.10.
1) I originally used StaticVar*Text and MxTo/FromString. I've tried
swapping my inter-formula matrix handling to StaticVarGet/Set since
updating to 6.1, but I've got MxGetSize() reporting that my StaticVar is
loading as a Number rather than a Matrix (and from my exports that seems
to be accurate). I tried pre-defining the temporary variable as a matrix
to see if it would cast the StaticVar, but that didn't work.
Is there something else I should be doing, or is it just that the
StaticVar matrix handling isn't working cross-formula as yet?
2) Is there a more elegant way of doing post-processing than using two
formulae? I've read the knowledgebase piece on running a piece of code
once at the start (and it's been very useful to create rugged
initialisation & ensure my post-processor formula's code only runs
once). However running a piece of code once at the end of a formula
seems substantially more involved.
I was contemplating grabbing the exploration filters, calculating the
total count of codes involved (which would require counting watchlists
and allowing for includes/excludes), then using that with the
Status("stocknum")... but I believe that, even if it did work, this
would force single-threading(?).
Cheers.
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) |
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