[amibroker] Re: Calculating VAP on base interval to display on higher timeframe charts

 

Hi Jorgen,


Thanks for your input. Yes, I have rewritten in AFL to use PriceVolDistribution. I think C++ would give better performance though but with the lack of matrix support there, it's difficult to get it done.

total Volume per price level has nothing to do with time frames. 
Yes, that may be true for the total volume, however I am calculating VAPs from each swing low or for ranges selected by the user, so there can be multiple of them. I am storing the resulting matrices in StaticVars, appending name and start dateTimeNum.

I of course also need to store this 'request' array showing where a new profile needs to start. Compressing this is causing some values to be lost (ie. last value taken, not the first for the range to be compressed), as described in message 194895. 

I just had an alternative idea, to get the relevant static var names using StaticVarInfo(ProfileSetName + "_VAP_" + Name() + "_*", "list") (where * contains a float value of the DateTime), I could go through this list. It won't be in order and I need to cross check if it's related to the visible area, but maybe it overcomes the problem I described in 194895.

Thanks.


__._,_.___

Posted by: gabor.s.kuti@gmail.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (7)

Save time and get your email on the go with the Yahoo Mail app
Get the beautifully designed, lighting fast, and easy-to-use Yahoo Mail today. Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

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