Login Page - Create Account

Support Board


Date/Time: Thu, 23 Jan 2025 21:27:19 +0000



How is Dominant Side Volume Percentage Calculated?

View Count: 1248

[2018-12-15 05:40:08]
User718622 - Posts: 57
From: Numbers Bars

Dominant Side Volume Percent: This Numbers Bars Text type displays a percentage and it is calculated as follows:

When Ask Volume is greater than the Bid Volume at a price level within the Numbers Bar, then this will be a positive percentage. This percentage represents what the Ask Volume is percentagewise of the sum of the Ask Volume and Bid Volume for the price level within the Numbers Bar.

When Bid Volume is greater than the Ask Volume at a price level within the Numbers Bar, then this will be a negative percentage. This percentage represents what the Bid Volume is percentagewise of the sum of the Ask Volume and Bid Volume for the price level within the Numbers Bar.

I need to implement this in ACSIL because there does not seem to be any other way to get the Dominant Side Volume Percentage from Numbers Bars at each price level within a bar.

However, I have no idea how it is calculated. I feel that the explanation above is lacking. Could you perhaps explain how this is calculated in math terms? Perhaps formalize the explanation -i.e put in plain math- and edit the documentation?
[2018-12-17 18:32:34]
John - SC Support - Posts: 37437
TotalVolume = AskVolume + BidVolume;
if (AskVolume >= BidVolume && TotalVolume != 0)
Percentage = AskVolume / (AskVolume + BidVolume) * 100;
else if (BidVolume > Ask Volume && TotalVolume != 0)
Percentage = -BidVolume / (AskVolume + BidVolume) * 100;
else
Percentage = 50.0;


Where AskVolume and BidVolume are the Ask and Bid Volumes at a specific price level.


We will also update the documentation to make this more clear.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account