Login Page - Create Account

Support Board


Date/Time: Wed, 26 Aug 2026 23:11:21 +0000



sc.AddStudyToChart / S_ID

View Count: 282

[2026-07-10 16:45:10]
User907968 - Posts: 883
Are the S_ID value for studies only available via sc.GetStudyInternalIdentifier?
In other words, to get the S_ID of a study we would need to have a copy of the study on a chart already.
[2026-07-10 17:58:40]
John - SC Support - Posts: 47669
The S_ID value is not the same thing as the "StudyID" that is defined for sc.GetSTudyInternalIdentifier. The S_ID is an internal identifier for the built-in Sierra Chart studies that does not change.

For example, the "Volume Point of Control for Bars" study has a StudyID of "466".

You can view the S_ID value by adding a study to the "Studies to Graph" section of the Chart Studies window. You do not have to actually select OK or Apply in order to add the study to the chart, you can just view it there, make a note, and then add the study using sc.AddStudyToChart using that S_ID.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2026-07-10 18:21:17]
User907968 - Posts: 883
Thanks for the reply John.
I should've been more specific, I was meaning is there any other way via ACSIL, as we can't query the S_ID anywhere without first adding the study.
If those numbers don't change, then I will do as you suggest and for the studies I want and add the study/note the S_ID/remove the study.
[2026-07-10 18:32:24]
John - SC Support - Posts: 47669
There is not an ACSIL study that will give you the S_ID.

But, another place where you can view the S_ID numbers is in the URL for the studies that are listed on the "Technical Studies Reference" page. For instance, the URL for the "Volume Point of Control for Bars" is the following:
Volume Point of Control for Bars

Note the ID=466 at the end, which is the S_ID for that study.

But, that page is generated, so you can not just view the source for the page to get the information.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2026-07-10 18:47:06]
User907968 - Posts: 883
sc.GetStudyInternalIdentifier() returns the S_ID, though that's not specifically written on the docs.



const auto id = sc.GetStudyInternalIdentifier(sc.ChartNumber, in_VP.GetStudyID(), studyName);

if (id != VBP_SID)
return;

Here VBP_SID = 141, which I found from trial and error to be the correct id for VbP study.

Now though I will follow your updated advice and look at the URLs, that will be faster than adding/removing etc, thanks.
[2026-07-10 19:21:28]
User907968 - Posts: 883
you can view the S_ID numbers is in the URL for the studies that are listed on the "Technical Studies Reference" page

This worked perfectly, I now have the IDs for all the studies that I needed - Thank you
[2026-07-12 20:42:18]
Sierra_Chart Engineering - Posts: 24675
Documentation has been updated for the sc.GetStudyInternalIdentifier function.

You can find out what this is, by adding the Volume by Price study to the chart, and then looking at the Studies the Graph list and looking at the S_ID:
Here VBP_SID = 141, which I found from trial and error to be the correct id for VbP study.

Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account