Support Board
Date/Time: Sun, 12 Jan 2025 15:25:15 +0000
GetStudyId is using study order not study ID?
View Count: 879
[2017-02-20 15:21:18] |
DabbaDo - Posts: 148 |
1522 Attached is a small chartbook and a test study. GetStudyId() seems to be returning the Id based on the order in the Studies to Graph window, not the Id. E.g., in GetStudyNameTest select a study whose ID is not the same as the number at the very left (the studies to graph order). The subgraph name works correctly, but the study name seems not to work correctly. Cheers, Dale |
GetStudyName.cpp - Attached On 2017-02-20 15:20:26 UTC - Size: 841 B - 598 views DebugStudyName.cht - Attached On 2017-02-20 15:20:52 UTC - Size: 49.24 KB - 246 views |
[2017-02-20 19:19:32] |
Sierra Chart Engineering - Posts: 104368 |
You are using the wrong function which uses a study index based on study order. You instead need to use this function: http://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Functions.html#scGetStudyNameUsingID 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, *change* to 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: