Detecting EA runing on a MQL Virtual Server

To add comments, please log in or register
Volcanbleu
172
Volcanbleu  

Hi guys,

Need some little help..

Does anybody knows a smart way to detect EA runing on a MQL Virtual Server to allow desactivating Objects functions..


Thank to you all..

fxsaber
14632
fxsaber  
bool IsVPS()
{
  return(!(ObjectCreate(0, "VPS", OBJ_VLINE, 0, 0, 0) && ObjectDelete(0, "VPS")));
}
To add comments, please log in or register