Detecting EA runing on a MQL Virtual Server

 

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..

 
bool IsVPS()
{
  return(!(ObjectCreate(0, "VPS", OBJ_VLINE, 0, 0, 0) && ObjectDelete(0, "VPS")));
}
Reason: