Login Page - Create Account

Support Board


Date/Time: Sat, 10 May 2025 21:16:13 +0000



GetMaxChartId api?

View Count: 774

[2016-05-19 18:35:49]
onnb - Posts: 663
hi -

Does it make sense for you to add an api int GetMaxChartId() that returns the max chart id currently in use in the chartbook?
Also, is there a constant for the maximum charts possible in a chartbook?
[2016-05-19 18:38:19]
Sierra Chart Engineering - Posts: 104368
If you need it, we can add this. Do you want us to add this? We would call it sc.GetHighestChartNumberUsedInChartBook

There is no constant for the maximum number of charts. There is no limit placed.
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
Date Time Of Last Edit: 2016-05-19 18:38:47
[2016-05-19 18:46:17]
onnb - Posts: 663
This would be helpful and we would use it right away.
We iterate over all charts in the chartbook.
Currently users inputs the maximum. Users often forget to update this value as chartbook grows and then go figure ;)
Date Time Of Last Edit: 2016-05-19 18:46:34
[2016-05-22 22:37:40]
Sierra Chart Engineering - Posts: 104368
This will be out in the next release.
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