Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 23:12:51 +0000



[Programming Help] - is there any way to use ACSIL to sum imbalances?

View Count: 499

[2021-04-20 20:10:04]
User61576 - Posts: 418
pls see attached screenshot
I would like to sum the imbalance volume/side
is there a way to do this with ACSIL?
imageScreenshot_6.jpg / V - Attached On 2021-04-20 20:08:17 UTC - Size: 84.4 KB - 200 views
[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
sc.GetSummation()

to sum how far you want to.
[2021-04-21 10:12:46]
User61576 - Posts: 418
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:

Login

Login Page - Create Account