
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Good day guys.
I would like to ask - does anybody know if the ChartScreenShot command generates a chart event - or in any way affect chart objects? I have tried to use this to capture a chart which I open from an EA, the new chart opens with an indicator loaded to it that uses Canvas objects - bitmap labels in specific - along with other basic line and channels. The problem is, no matter how fast or slow I do the screenshot, the canvas objects always doesn't show, and only the channels/lines remain. When I observe the process, the indicator loads properly but when the screenshot captures, it just blinks, or redraws, at the time of capturing. I have tried to disqualify the possibility of this being because of a chart event by setting my event handling to only button clicks, but I still get the same odd results. Can anyone help?
Here is a sample code - which is actually just part of the Telegram Bot EA screenshot portion:
I have no issues with sending the files but I do no get my desired result. Does anyone know if I am missing anything?
Thanks in advance.