Support Board
Date/Time: Sun, 16 Mar 2025 19:43:59 +0000
[Programming Help] - Access TPO m_TPOPOCPrice value from different chart?
View Count: 496
[2022-08-09 22:19:14] |
User275839 - Posts: 61 |
I am trying to create an ACSIL study that will reference values from a TPO study in a separate chart in the same chartbook. I see that there is a special ACSIL function called sc.GetStudyProfileInformation to retrieve data from a TPO study. However, the API doesn't appear to allow for fetching by specifying Chart # + Study ID. Is there no way to reference a TPO study across charts in the same chartbook? |
[2022-08-10 06:21:04] |
User431178 - Posts: 614 |
You would use sc.GetStudyProfileInformationForChart, which is not documented but you can find it in sierrachart.h sc.GetStudyProfileInformationForChart(const int ChartNumber, const int StudyID, const int ProfileIndex, n_ACSIL::s_StudyProfileInformation& r_StudyProfileInformation)
|
[2022-08-10 06:43:08] |
User275839 - Posts: 61 |
Awesome! Worked great! Thank you!
|
To post a message in this thread, you need to log in with your Sierra Chart account: