Login Page - Create Account

Support Board


Date/Time: Mon, 15 Sep 2025 12:46:17 +0000



Post From: study to access DOM recent Bid/Ask volume

[2019-01-29 17:11:21]
User153286 - Posts: 64
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?