Login Page - Create Account

Support Board


Date/Time: Thu, 04 Jun 2026 17:37:11 +0000



[Programming Help] - ACSIL access to native Volume By Price

View Count: 23

[2026-06-04 10:49:47]
Isma.Sesay - Posts: 8
Hello Sierra Chart Team,

I am developing a custom ACSIL study that reads Volume By Price data using:

* sc.GetNumPriceLevelsForStudyProfile()
* sc.GetVolumeAtPriceDataForStudyProfile()

The native Volume By Price study is configured as follows:

* Time Period Type = Days
* Time Period Length = 1
* Start Time = 18:00
* Ticks Per Volume Bar = 2
* Display Volume In Bars = Diagonal Ask Volume - Bid Volume
* Volume Bar Calculation Method = Diagonal Ask Volume - Bid Volume

My objective is to understand how the native Volume By Price study internally determines:

1. The width of the blue profile bars.
2. The green buyer-dominance component.
3. The red seller-dominance component.

Using ACSIL I can access:

* Volume
* AskVolume
* BidVolume
* NumberOfTrades
* PriceInTicks

However, after extensive testing, none of the following reproduce the native profile shape:

* Volume
* AskVolume + BidVolume
* AskVolume - BidVolume
* Abs(AskVolume - BidVolume)
* Max(AskVolume, BidVolume)

Questions:

1. Does the native Volume By Price renderer use additional diagonal bid/ask values that are not exposed through s_VolumeAtPriceV2?
2. Are Diagonal Ask Volume and Diagonal Bid Volume available through ACSIL?
3. Is there an ACSIL function or structure that exposes the exact values used internally when:

* Display Volume In Bars = Diagonal Ask Volume - Bid Volume
* Volume Bar Calculation Method = Diagonal Ask Volume - Bid Volume
4. If these values are not exposed, is it possible to access the already-computed profile widths generated by the native Volume By Price study?

Thank you.

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

Login

Login Page - Create Account