Login Page - Create Account

Support Board


Date/Time: Sat, 10 May 2025 17:45:58 +0000



Post From: Accessing study name / subgrapjs from another chart

[2016-02-09 19:02:24]
User99735 - Posts: 234
Hi,
When I try to access a study name / subgrapjs from another chart, the code is returning the study name from the current chart on which the study with the following code is applied -

SCInputRef StudySubgraphReference = sc.Input[0];
StudySubgraphReference.Name = "Spread Sheet Chart And Study No";
StudySubgraphReference.SetChartStudyValues(1, 1);

char msg[1000];
sprintf(msg, "Signal - %sd", sc.GetStudyNameFromChart(StudySubgraphReference.GetChartNumber(), StudySubgraphReference.GetStudyID()));
sc.AddMessageToLog(msg, false);

Please advice.

Regards,

Vivek