Hello,
Thank you very much for your e-mail.
There are some misunderstandings here.
Matrices are FULLY supported as static variables.
So you can store MATICES directly into static variables using
StaticVarSet and read it using StaticVarGet
There is no need to convert to string and back.
And as Jorgen wrote, if you need to calculate VAP on finer interval, use finer interval
to generate VAP data and store to static variable. Once it is done you can use
the data at any other interval as, like Jorgen said, the VAP data are timeframe independent
as is is just volume at given price level.
And no writing your own DLL would not be any faster than existing PriceVolDistribution
Best regards,
Tomasz Janeczko
amibroker.com
Hi,
I am sorry, but I do not get it? Why do you compress the values? In my solution I can also manually set the VAP period. And in the 1-Tick time frame I use this:
MXVAP = PriceVolDistribution( High, Low, Volume, Lines, True, Start, LVB );MXVAPData = MxToString( MXVAP );StaticVarSetText( "~MXVAPData", MXVAPData, False );
and then in 6 higher time frames I use this:
MXVAPData = StaticVarGetText( "~MXVAPData" );MXVAP = MxFromString( MXVAPData );
And I have no performance problems at all with this solution. It's dead on accurate and very, very fast calculating 1.5 to 2 million ticks.
Regards,
Jorgen.
Posted by: Tomasz Janeczko <groups@amibroker.com>
| Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (9) |
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