Support Board
Date/Time: Wed, 26 Feb 2025 17:56:57 +0000
[Programming Help] - Custom Study to Access Multiple Charts in the Same Chartbook
View Count: 785
[2021-05-19 23:07:35] |
Metzenovich - Posts: 10 |
On the ACSIL page it says this: A study can make reference to the chart data, other studies, other charts, market data, and chart settings.
I have a chartbook with 3 charts (same symbol, 3 different time periods). I'd like to create a custom study I can add to one of the charts that will compare the values of all 3 studies, for instance: Chart 1, ID20.SG2 Chart 2, ID17.SG3 Chart 3, ID4.SG1 etc But I haven't been able to find code samples showing what that would look like (the code to access other charts in the same chartbook, and other studies in that chart). Also, can a study on one chart add drawings to another chart in the same chartbook? Thank you! Date Time Of Last Edit: 2021-05-19 23:09:32
|
[2021-05-20 11:34:32] |
User310645 - Posts: 49 |
You could use sc.GetStudyArrayFromChartUsingID() with chart num, study id, subgraph ids_UseTool Tool; Tool.ChartNumber = xxx; |
[2021-05-20 16:09:47] |
Metzenovich - Posts: 10 |
Thank you very much. I appreciate it.
|
To post a message in this thread, you need to log in with your Sierra Chart account: