Support Board
Date/Time: Sat, 23 Nov 2024 14:58:27 +0000
Post From: Saving Chart Images for Education
[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. |