Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 09:28:34 +0000



study to access DOM recent Bid/Ask volume

View Count: 992

[2019-01-29 17:11:21]
User153286 - Posts: 44
I creating a study for the DOM and want to access the the same data I see in the Recent Bid Volume and Recent Ask Volume.

I used
    float bvalue = sc.GetCurrentTradedBidVolumeAtPrice(curprice);
    float avalue = sc.GetCurrentTradedAskVolumeAtPrice(curprice);

but the returned values do not match.

Also if I clear the recent traded values, the values in GetCurrentTradedBidVolumeAtPrice and GetCurrentTradedAskVolumeAtPrice do not seem to be affected.

Can I get at the DOM Recent Bid/Ask volume data from within a study?
[2019-01-29 18:54:26]
Sierra Chart Engineering - Posts: 104368
You need to use these functions instead:
sc.GetRecentAskVolumeAtPrice() / sc.GetRecentBidVolumeAtPrice()
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to 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