Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 10:38:25 +0000



[Programming Help] - Calling Indicators Between Differtent Charts

View Count: 334

[2023-05-17 14:49:44]
User184576 - Posts: 20
Hi,

Is it possible to call indicators from different charts within a custom study's code?

I.E. I use a weekly ATR in one chart. Can I write a custom study that runs on a daily chart and is able to reference the weekly ATR from the other chart?

Thanks!
[2023-05-17 20:25:30]
JohnR - User831573 - Posts: 306
sc.GetStudyArraysFromChartUsingID()
The sc.GetStudyArraysFromChartUsingID() function gets all of the Subgraph arrays from a study specified by the ChartNumber and the unique StudyID parameters.

The StudyID is the unique study identifier.

There are also functions to find the ID # if you only know a name.

Hope this helps,
John

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

Login

Login Page - Create Account