Support Board
Date/Time: Wed, 05 Feb 2025 23:06:28 +0000
Screenshot API
View Count: 880
[2020-04-02 22:34:21] |
User617678 - Posts: 8 |
Hello, Is there any API to save screenshots of a chart? Thank you |
[2020-04-02 23:09:06] |
User617678 - Posts: 8 |
I found the API call inside sierrachart.h
|
[2020-04-05 14:46:05] |
User701453 - Posts: 176 |
I created a function: void ScreenShotTaker(SCStudyInterfaceRef sc)
{ sc.SaveChartImageToFile = 1; } Created an input in my strat named "Enable_TradeEntryScreenShot". Then place the below code when the entry order was called. //TAKE A SCREEN SHOT
if (Enable_TradeEntryScreenShot.GetYesNo()) { ScreenShotTaker(sc); } Date Time Of Last Edit: 2020-04-05 14:47:17
|
[2020-04-05 15:07:54] |
User617678 - Posts: 8 |
I started using this sc.SaveChartImageToFileExtended() since it provides more customization. Thank you very much for your reply. Kind regards |
To post a message in this thread, you need to log in with your Sierra Chart account: