Support Board
Date/Time: Tue, 04 Nov 2025 08:55:24 +0000
Post From: Drawing on Study Subgraph
|   [2022-01-27 22:19:37]     |  
| tietzmann - Posts: 11 | 
| 
                Hi, I added a subgraph on my chart by using the study "Add Additional Symbol". Now I would like to use function sc.AddLineUntilFutureIntersection to add a line to the subgraph, but it is not working. On the main chart it works just fine, but not on the subgraph chart. On my code I have the subgraph chart as an input: SCInputRef Input_StudySubgraphReference = sc.Input[1]; Input_StudySubgraphReference.Name = "Study Subgraph Reference"; Input_StudySubgraphReference.SetStudySubgraphValues(0, 0); I am also accessing the subgraph array like this: sc.GetStudyArrayUsingID(Input_StudySubgraphReference.GetStudyID(), Input_StudySubgraphReference.GetSubgraphIndex(), StudySubgraphArray); I tried something like this, but it didn't work: SCSubgraphRef SubReference = sc.Subgraph[Input_StudySubgraphReference.GetSubgraphIndex()]; SubReference.AddLineUntilFutureIntersection Thanks, Juliano  | 
        
