[MQL5] ChartScreenShot() function can't work on tester

 

I call this in tester.

ChartScreenShot(0, "test.bmp",800,600,ALIGN_LEFT);

It's not work. I searched all over the my pc and couldn't find any file named "test.bmp."

Everyone can try it with your self. It used to work, I don't know why it has changed now.

 
It's not possible to take screenshot from the Strategy Tester and I don't think it was ever possible (if someone did it, please correct me). At some point it was creating a screenshot file but it was empty (size 0).
 
Alain Verleyen #:
It's not possible to take screenshot from the Strategy Tester and I don't think it was ever possible (if someone did it, please correct me). At some point it was creating a screenshot file but it was empty (size 0).
But it should have been written in the manual that "it doesn't work in tester" and it also returns true. 🤷🏻‍♂️
 
Ronnaphop Monthian #:
But it should have been written in the manual that "it doesn't work in tester" and it also returns true. 🤷🏻‍♂️
Yes and there should be peace in the world.