Support Board
Date/Time: Wed, 19 Feb 2025 01:16:56 +0000
String-List Input for None-Custom Studies
View Count: 752
[2021-01-03 02:23:04] |
Tony - Posts: 549 |
Hi, I am wondering if there are ways to read and set the index of a string in the input list for none-custom studies? Similar to sc.GetChartStudyInputString(), but index of a list of strings in an input. Thanks! |
[2021-01-04 10:59:38] |
|
We are not sure what you are referring to: none-custom studies?
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: 2021-01-04 10:59:53
|
[2021-01-05 17:06:41] |
Tony - Posts: 549 |
For custom studies wrote by myself, I have the access to those information by using "sc.Input[0].GetIndex()", "sc.Input[0].GetSelectedCustomString()", not sure how this can be done for those studies that came with Sierra Chart. Thanks, |
[2021-01-05 20:59:50] |
|
You can use this function to get the string for an Input from other studies: ACSIL Interface Members - Functions: sc.GetChartStudyInputString() However, not the selected index. We can look into supporting getting the selected index if needed. 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: 2021-01-05 21:00:24
|
[2021-01-07 03:10:15] |
Tony - Posts: 549 |
That would be very handy if new functions could be added to support this. Thanks guys! |
[2021-01-07 17:25:04] |
|
We looked into this and currently sc.GetChartStudyInputInt returns the selected zero-based index from a Study Input which uses a list of custom strings.
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: 2021-01-07 17:25:11
|
[2021-01-08 23:37:21] |
Tony - Posts: 549 |
Perfect!!! And, sc.SetChartStudyInputInt() allows me to select from list of strings. Problem solved, Thanks so much!!! |
To post a message in this thread, you need to log in with your Sierra Chart account: