Download MetaTrader 5

WindowScreenShot from MT4 Active Workplace?

To add comments, please log in or register
elanin
66
elanin  

Hello, I want to get a Screen Shot that is called by EA when order is closed and make screen shot from MT4 Active workplace. Manually it is possible to make this by selecting 'File -> Save As Picture... -> Active Workplace -> OK', but is it also possible with EA?

 

Unfortunately I have only found option to make screen shot only from chart where EA is attached.

      ResetLastError();_GetLastError=0;
      if(WindowScreenShot("Dropbox\\ "+TimeToString(Lock_Open_Time,TIME_DATE)+ " Close, "+IntegerToString(Lock_Ticket_Number)+".gif",Pic_Widght,Pic_Height))
      {//1
         _GetLastError=GetLastError();
         if(_GetLastError>0)
         {//2
            Print("WindowScreenShot Error "+ErrorDescription(GetLastError()));
         }//2
         else
         {//2
            Reset_Screen_Locks++;
         }//2
      }//1
honest_knave
Moderator
2333
honest_knave  
Use ChartScreenShot(). That lets you specify the chart ID
Zirkon
121
Zirkon  
elanin:

Hello, I want to get a Screen Shot that is called by EA when order is closed and make screen shot from MT4 Active workplace. Manually it is possible to make this by selecting 'File -> Save As Picture... -> Active Workplace -> OK', but is it also possible with EA?

 

Unfortunately I have only found option to make screen shot only from chart where EA is attached.

 

I don't think it's possible with mql4.
To add comments, please log in or register