Support Board
Date/Time: Sat, 23 Nov 2024 12:41:49 +0000
Saving Chart Images for Education
View Count: 183
[2024-08-21 19:45:55] |
Alex Shterenberg - Posts: 9 |
Hi Guys Please let me know if this is something that is possible within Sierra Chart. I do research on previous charts to analyze market movements. So I would like to know if I can somehow automate this process. Currently I am going into each chart manually and saving the screen image. For example I would like to see the 5 min chart or 15 min chart for NQ or YM from 8:00 to 15:00 EST for every day for the past 90 trading days. Can this be automated? Or do I have to manually go to every chart and save it? Any suggestions are welcome. Thank you for the help. Alex |
[2024-08-22 11:27:13] |
emmanuel - Posts: 57 |
That should be possible to automate. ASCIL has the sc.SaveChartImageToFile property, which causes Sierra Chart to save an image. See ACSIL Interface Members - Variables and Arrays: sc.SaveChartImageToFile The chart can be scrolled to a datetime programmatically using sc.ScrollToDateTime. See ACSIL Interface Members - Variables and Arrays: sc.ScrollToDateTime Using sc.GetSessionTimesFromChart() you can get the datetime for the beginning and end for each trading session, according to the chart settings. See sc.GetSessionTimesFromChart() Putting all of this together, with ASCIL you can start scanning from the beginning of the chart and then check if the current bar is at the end of the trading session. If so, scroll to that position, take a screen shot, and then repeat. I'm not sure if this can be done during recalculation (which in that case scrolling would not be required) of if it needs to be done after the study has finished recalculating. |
[2024-08-23 21:03:53] |
John - SC Support - Posts: 36238 |
It can be automated through ACSIL: sc.SaveChartImageToFileExtended() Also there are options to save images with Alert conditions. Refer to the following: General Settings Window: Capture Chart Image on Alert for Chart (Global Settings >> General Settings >> Alerts >> Alert Settings) 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: