Support Board
Date/Time: Wed, 27 Nov 2024 18:29:14 +0000
How to Copy Chart Values for a DATE RANGE instead of just current crosshair.
View Count: 235
[2023-07-12 15:07:02] |
ElKimoBasha999 - Posts: 22 |
Hey guys, I can succesfully copy the Chart Value by hovering over the TPO day and then EDIT>>Copy Chart Values. Now how can I copy say a whole MONTHS of Chart Values with one click so I can gather all the Study data I have for the whole month, so i dont manually hover then copy 30 times. And if for a year then do it 30*12 times - Is there an easier way to gather all the Study Data for a range? Especially for TPO? Thanks |
[2023-07-12 16:04:32] |
John - SC Support - Posts: 36331 |
For a TPO Profile there is no easy way to do this other than create a custom study. For other studies, where the data is the actual subgraph, then you can use the "Edit >> Export Bar and Study Data to File". Refer to the following: Edit Menu: Edit >> Export Bar and Study Data to Text File For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2023-07-13 07:21:05] |
ElKimoBasha999 - Posts: 22 |
Hey John, so I tried to simply add the TPO study to my chart and then save the Intraday as Text and it doesn't show all the TPO values like it does in the Chart Tools when TPO is loaded up. So what I am currently doing is I think I have to download like the last 3 years of Continoues Futures Contracts worth of data and then use an ASCIL script to FETCH the last 3 years of data? Is my line of thinking correct here? If so, what is the most efficient way to go about this, I know how to kind of code in ASCIL and I already figured out how to code to fetch certain values and over certain days: const int DaysBack = 60; and: for (int i = 1; i <= DaysBack; i++) { // Fetch the profile information for each of the past 60 days sc.GetStudyProfileInformation(TPOStudyID, i, StudyProfileInformation); // Format the start date-time as a string std::stringstream ss; ss << StudyProfileInformation.m_StartDateTime.GetYear() << "-" << StudyProfileInformation.m_StartDateTime.GetMonth() << "-" << StudyProfileInformation.m_StartDateTime.GetDay() << " " << StudyProfileInformation.m_StartDateTime.GetHour() << ":" << StudyProfileInformation.m_StartDateTime.GetMinute() << ":" << StudyProfileInformation.m_StartDateTime.GetSecond(); Is there a way I can just put a DATE RANGE? instead of indexing back 60 days? |
[2023-07-13 14:21:49] |
John - SC Support - Posts: 36331 |
You need to loop on the indices of the bars, but you can find the date associated with a bar to find the particular date that you want and then loop to the other date you want (again, by index). Refer to the following function: sc.GetContainingIndexForSCDateTime() 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: