Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 13:16:46 +0000



Market By Order ASCIL Example

View Count: 678

[2021-05-05 17:15:01]
User769783 - Posts: 124
In the example for MBO, the Number of Elements is set to 20. But in reality this is not the actual number, it could vary correct? So then, what should actually be the array for the correct amount of elements. Any help is appreciated, thanks?
[2021-05-05 17:24:53]
User907968 - Posts: 802
You need to determine the maximum array size that you are likely to need for your particular purposes and use that.
There is no correct number of elements, as you've already stated, it's variable and not known in advance of the function call.
[2021-05-05 20:30:08]
User769783 - Posts: 124
I couldn't define a maximum array size, it's unknown. Could I have an open array size, if such a thing?
[2021-05-05 21:17:45]
John - SC Support - Posts: 31098
You could use a Vector and increase it as needed:
https://www.cplusplus.com/reference/vector/vector/
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-05-06 15:19:33]
User769783 - Posts: 124
I have NO IDEA how to do this, but it seems just what I need. Thanks

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

Login

Login Page - Create Account