Login Page - Create Account

Support Board


Date/Time: Thu, 16 Jan 2025 13:11:49 +0000



[User Discussion] - sc.Get Study Array Using **Name**

View Count: 967

[2017-10-20 09:26:56]
jizzary - Posts: 177
Hi

I'm looking for a function that will get a chart study by its name (like sc.GetStudyArrayUsingID do but using the study's name)

I could not find one in the documentation ... is there any such API?

The need comes up from the fact that same subgraph may take different IDs on different charts, so the best would be to refer their names
in order to get a reference to them

The other way would be to read all chart studies (using sc.GetStudyName() & sc.GetStudyIDByIndex()) but I need an API to know the number of existing studies

I used sc.GetStudyName() in a loop to get all studies' names. What complicates things is the fact that the API returns the standard study name.
In order to identify my specific studies, I need the function to return the SHORT name but for that, I need your assistance.


Thanks
Date Time Of Last Edit: 2017-10-21 08:30:56
[2017-10-28 09:53:13]
jizzary - Posts: 177
Hi

The above describes a problem which is VERY simple to resolve. Will you please refer it?

Thanks

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

Login

Login Page - Create Account