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.
Programming - editing - modification EA, Script or Indicator for MT4 OR MT5 ---- Trading on the Forex market involves substantial risks, including complete possible loss of funds and other losses and is not suitable for all members. Client should make an independent judgments as to whether trading is appropriate for him/her in light of his/her financial condition, investment experience, risk tolerance and other factors.
Tuesday, 27 November 2012
Code to take Screenshot of Chart and save it to local drive
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment