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

 

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: jorgen.wallgren@gmail.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (8)

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