Support Board
Date/Time: Wed, 02 Jul 2025 06:19:07 +0000
Post From: Access TPO profile information from another chart
[2021-03-24 20:25:18] |
Ernie Doo - Posts: 46 |
Hi SC Team, I have 2 questions. I developed a custom study which runs in a 1 minute chart. I want my study to read information out of a Daily TPO Profile chart. Ideally I would like to have this TPO profile in another chart window. The only function I found to read out information from a TPO chart is sc.GetStudyProfileInformation, but this function requests only the StudyID so I cannot specify a ChartNumber like in other SC functions. So, 1) How can I access this TPO information from another chart? 2) When back-testing, the TPO profile takes a lot of time to form, even though I have set it to a 1 Day time period. I am only interested in the daily information of the TPO profile from a previous day, eg. the VPOC price value of the last day. Is there a way my study can access this information without the TPO profile chart having to run through every single second or minute to build the profile? Like for example, I have a Daily chart and I get daily bar information out of it by using function sc.GetChartBaseData without having to replay this chart for my study. I went through the manual and through the support board to see if I could find my answers without any luck. Thanks! |