Download MetaTrader 5
To add comments, please log in or register
Do you know that MQL5 has event handling?
Reza Mehrabani
171
Reza Mehrabani 2014.05.13 17:12 

Hi,

I am trying using WindowScreenShot() in one my EA that running on my VPS. I am using with this format:

WindowScreenShot("auto.gif",550,300);

It takes black screenshots from chart. I tried this function on VPS with win server 2003 & 2008 and for both same results.

When run EA on my PC(Win 8.1) it takes correct screenshots and only problem on my VPS.

Any idea why it takes black chart?

Regards,

Halley
198
Halley 2014.05.14 09:28  
Pouya:

Hi,

I am trying using WindowScreenShot() in one my EA that running on my VPS. I am using with this format:

WindowScreenShot("auto.gif",550,300);

It takes black screenshots from chart. I tried this function on VPS with win server 2003 & 2008 and for both same results.

When run EA on my PC(Win 8.1) it takes correct screenshots and only problem on my VPS.

Any idea why it takes black chart?

Regards,


Not quite sure but it may use the Windows screen driver to render the chart. There is not any if the remote desktop gets disconnected.
/
To add comments, please log in or register