Here is the Code that you can put in any EA to take a screenshot of the Chart and save it to disk, you can call this on any event like if there is any new trade taken, you can save the screenshot.


the system function to take screenshot is:
Code:
WindowScreenShot(filename,size_x,size_y)

Here is the example usage:

Code:
string filename= "Chart"+Symbol();
WindowScreenShot(filename,570,428)

The above will save the chart with name "ChartEURUSD". You can make the filename very dynamic so every time screenshot is taken, it would save it with different name.