Login Page - Create Account

Support Board


Date/Time: Tue, 26 Aug 2025 13:16:23 +0000



Request - SetChartStudyInput for Interger Lists and other Input types

View Count: 154

[2025-06-15 18:28:19]
User2069 - Posts: 32
Hi,

If at all possible could you guys please consider adding a SetChartStudyInput function for some of the more complex input types? I was trying to find a way to change the Compare Thresholds for the Numbers Bar and there seems to be no way to change inputs that take multiple values currently.

Thank you!
[2025-06-15 21:49:51]
User431178 - Posts: 764
ACSIL Interface Members - Functions: sc.SetChartStudyInputString()

You should try using above function for number bar compare thresholds and similar, where setting is entered as comma separated string of values.
[2025-06-15 22:56:28]
User2069 - Posts: 32
I had already tried it, it doesn't work and the function returns 0 as the input is not a string, just like it says on the documentation.

Thank you though :)
[2025-06-16 08:15:24]
User431178 - Posts: 764

I had already tried it, it doesn't work and the function returns 0 as the input is not a string, just like it says on the documentation.

Then maybe you did something wrong as I have used that for exactly the same purpose, with zero problem.

The various compare threshold inputs are strings, it even says as much in the docs.
Numbers Bars: Column # Percent Compare Thresholds

To make sure you deploy the correct SetChartStudyInput.... function, you can check the type of the input programmatically using sc.GetChartStudyInputType, then compare against the InputValueTypes enum in scconstants.h

ACSIL Interface Members - Functions: sc.GetChartStudyInputType()
[2025-06-16 12:25:09]
User2069 - Posts: 32
You're completely right, i had made a mistake when passing a couple of the checks from sc inputs into variables. Also can't believe i missed that they were actually strings when checking the docs, kind of embarrassing.

But honestly thank you! It's working perfectly now, i really appreciate it.

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

Login

Login Page - Create Account