Login Page - Create Account

Support Board


Date/Time: Fri, 28 Aug 2026 03:36:00 +0000



SetChartStudyInputChartStudySubgraphValues not writeable for CHART_STUDY_VALUES input type

View Count: 178

[2026-07-13 15:02:06]
User907968 - Posts: 883
Per title, it seems that SetChartStudyInputChartStudySubgraphValues seems not writeable when applying to input type CHART_STUDY_VALUES.
The function returns 1 indicating success, but the actual study input is unchanged.

GetChartStudyInputChartStudySubgraphValues works correctly with CHART_STUDY_VALUES input type, as do both get/set functions when used with CHART_STUDY_SUBGRAPH_VALUES and STUDY_SUBGRAPH_VALUES input types.

Tested in versions 2881 and 2927
[2026-07-13 15:30:00]
Sierra_Chart Engineering - Posts: 24693
We will check on this.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2026-07-13 21:33:13]
Sierra_Chart Engineering - Posts: 24693
We tested this, and it works just perfect.

s_ChartStudySubgraphValues ChartStudySubgraphValues;
ChartStudySubgraphValues.ChartNumber = 2;
ChartStudySubgraphValues.StudyID = 1;
ChartStudySubgraphValues.SubgraphIndex = 2;

  int Result = sc.SetChartStudyInputChartStudySubgraphValues(sc.ChartNumber, 1, 3, ChartStudySubgraphValues);

Attached is the Chartbook we tested with. The above code was put in a study function applied to chart #1 and it updated the ChartStudySubgraphValues Input in the Text Display for Study from Chart study on that same chart and set the Subgraph index from 1 to 2.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2026-07-13 21:34:28
attachmentChartbook1024.Cht - Attached On 2026-07-13 21:31:48 UTC - Size: 8.37 KB - 28 views
[2026-07-13 23:11:04]
User907968 - Posts: 883
Hello,

Yes, in that configuration it works perfectly for me too, I also used that same study to check that particular mode.

The one that did not work was setting chart number & study ID only. I tried it with study/price overlay and a custom study. Both times the input is left in the default state, chart number and study id not changing.
[2026-07-14 04:09:37]
Sierra_Chart Engineering - Posts: 24693
That is a different input type:
CHART_STUDY_VALUES

sc.SetChartStudyInputChartStudySubgraphValues did not support this input type but will 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, use 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