Login Page - Create Account

Support Board


Date/Time: Sat, 22 Feb 2025 08:45:52 +0000



PriceTickIndex

View Count: 706

[2021-01-26 18:48:53]
User566913 - Posts: 39
When using a function that uses.....(int PriceTickIndex), what is this, how should I understand this? What is a PriceTickIndex, what would I input inside the quote marks? Really lost here, much thanks.
[2021-01-26 18:53:17]
John - SC Support - Posts: 38116
Refer to the information here:
ACSIL Interface Members - Historical Market Depth Data (c_ACSILDepthBars): c_ACSILDepthBars

Also look at the example at the bottom of that page.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-01-26 20:55:47]
User566913 - Posts: 39
So is this then proper to get the Dominant side:

const int MaxDominantSide = p_DepthBars->GetMaxDominantSide(sc.Index, PriceTickIndex);

I dont think that MaxDominantSide can be an int though, I'm not sure how to write this because the function is a BuySellEnum. But until I hear back I'll just try different things out. Thanks again...
[2021-01-27 17:12:25]
Sierra Chart Engineering - Posts: 104368
The function does return a BuySellEnum type. The price is specified as an integer.

This is explained here:
ACSIL Interface Members - Historical Market Depth Data (c_ACSILDepthBars): PriceToTickIndex
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account