Login Page - Create Account

Support Board


Date/Time: Wed, 14 May 2025 10:38:51 +0000



Post From: ACSIL Custom Autotrading System assistance

[2024-08-06 20:06:14]
User431178 - Posts: 679
Yes, makes sense.

Suggest reading this page again: ACSIL Interface Members - Functions: sc.GetVolumeAtPriceDataForStudyProfile()

sc.GetVolumeAtPriceDataForStudyProfile(vbpStudyID, priceInTicks, volumeAtPrice, volumeAtPriceIndex)

The above does not conform to the specification for that function.

int GetVolumeAtPriceDataForStudyProfile(const int StudyID, const int ProfileIndex, const int PriceIndex, s_VolumeAtPriceV2& VolumeAtPrice);
ProfileIndex is, in this case, 0 as we are interested only in the most recent profile.
For PriceIndex you actually need to loop through the available levels to find the one that you need.

See if you can figure it out, if not I will try to help some more tomorrow.