Login Page - Create Account

Support Board


Date/Time: Sat, 15 May 2021 11:19:08 +0000



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

[2021-04-20 20:10:04]
User61576 - Posts: 263 | Ending Date: 2021-10-03
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 - 21 views
[2021-04-20 21:59:31]
Flipper_2 - Posts: 51 | Ending Date: 2021-05-06 [Expired]
Yeah you would use this,
https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Variables_And_Arrays.html#scVolumeAtPriceForBars

find the level and side and store it in a SCSubgraphRef or something then just use the
https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Functions.html#scGetSummation

to sum how far you want to.
[2021-04-21 10:12:46]
User61576 - Posts: 263 | Ending Date: 2021-10-03
is there any code example I can use see to learn how to implement it?
[2021-04-21 10:22:26]
Flipper_2 - Posts: 51 | Ending Date: 2021-05-06 [Expired]
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 login with your Sierra Chart account:

Login

Login Page - Create Account