Support Board
Date/Time: Sun, 08 Sep 2024 00:44:05 +0000
Post From: sc.SaveChartImageToFileExtended() Only Considers One Chartbook
[2023-11-10 21:04:42] |
User900285 - Posts: 93 |
Hello, I am working on a study that needs to perform a screenshot, the function sc.SaveChartImageToFileExtended() works very nicely except for one thing. It looks like the function is not able to take a screenshot of a chart from a different chartbook than where the study function originates from. Even if the currently active chartbook has been changed to a different chartbook than where the function originated from. My study is aware of conditions that are taking place in other chartbooks that are open in the background. It uses sc.OpenChartbook() to dynamically switch to the correct chartbook, before taking the screenshot of the chart where a chart drawing alert originated from. What I would need for this function is either: 1. Have the ability to select the chartbook (by inputting the Chartbook Name) along with the Chart Number or 2. When the function is called, it considers the Chart Number of whichever is the currently active chartbook, instead of being locked to the chartbook where the custom study is located.. Date Time Of Last Edit: 2023-11-10 21:06:32
|