Support Board
Date/Time: Tue, 25 Feb 2025 16:33:51 +0000
[Programming Help] - is there any way to use ACSIL to sum imbalances?
View Count: 582
[2021-04-20 20:10:04] |
User61576 - Posts: 445 |
pls see attached screenshot I would like to sum the imbalance volume/side is there a way to do this with ACSIL? |
![]() |
[2021-04-20 21:59:31] |
Flipper_2 - Posts: 57 |
Yeah you would use this, ACSIL Interface Members - Variables and Arrays: sc.VolumeAtPriceForBars find the level and side and store it in a SCSubgraphRef or something then just use the ACSIL Interface Members - Functions: sc.GetSummation() to sum how far you want to. |
[2021-04-21 10:12:46] |
User61576 - Posts: 445 |
is there any code example I can use see to learn how to implement it?
|
[2021-04-21 10:22:26] |
Flipper_2 - Posts: 57 |
from the like I posted. For an example on how to use sc.VolumeAtPriceForBars, refer to the function scsf_VolumeAtPriceArrayTest in the /ACS_Source/studies8.cpp file in the folder where Sierra Chart is installed to. Or refer to scsf_VolumeWeightedAveragePrice in /ACS_Source/studies2.cpp. Or refer to scsf_VolumeAtPriceThresholdAlertV2 in /ACS_Source/studies8.cpp.
|
To post a message in this thread, you need to log in with your Sierra Chart account: