[amibroker] Re: Anyone Been able to do this yet?

 

Adding to my earlier message- one way to calculate the Buy and Sell Volumes is:


Buying Range = Close - Low, Selling Range = High - Close

Which is much the standard way many traders use, such as Larry Williams.

Then you can take that one step further:

BullRange = IIf( Close == Open AND High == Low, 1, IIf( Close > Open, ( Close - Low ) + ( High - Low ), ( Close - Low ) + ( High - Open ) ) );

BearRange = IIf( Close == Open AND High == Low, 1, IIf( Close > Open, ( High - Close )  + ( Open - Low ), ( High - Close ) + ( Close - Low ) ) );

TotalRange = BullRange + BearRange;
BuyVolume = Volume * ( BullRange / TotalRange );
SellVolume = Volume * ( BearRange / TotalRange );

But as I mentioned, these approximations are far from perfect. But can at times come close the the actual Buy and Sell Volumes.


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 (3)

Check out the automatic photo album with 1 photo(s) from this topic.
VAP.png

Upgrade your account with the latest Yahoo Mail app
Get organized with the fast and easy-to-use Yahoo Mail app. Upgrade 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