Download MetaTrader 5

Does anyone know how to make the Droneox Equity Guardian EA to work with VPS?

To add comments, please log in or register
Eleni Anna Branou
Moderator
4853
Eleni Anna Branou  

I tried to synchronise experts and indicators with VPS on my MT4 platform, but the Droneox Guardian EA is being removed during migration.

I tried to contact the author in the past with no luck.

Any suggestons? 

Fernando Carreiro
3952
Fernando Carreiro  
Eleni Anna Branou: I tried to synchronise experts and indicators with VPS on my MT4 platform, but the Droneox Guardian EA is being removed during migration. I tried to contact the author in the past with no luck. Any suggestons? 
That EA is using Win32 DLL calls which are not permitted in VPS Hosting. In fact, no DLL calls are allowed at all in MetaQuotes VPS Hosting.
#include <WinUser32.mqh>

...

//+------------------------------------------------------------------+
//| check live trading and dll                                       |
//+------------------------------------------------------------------+
int OnInit()
  {
   if(!IsTradeAllowed() && !IsDllsAllowed())
     {
      Alert("Please Allow Live Trading and DLL Import");
      return(1);
     }
   else if(!IsTradeAllowed())
     {
      Alert("Please Allow Live Trading");
      return(1);
     }
   else if(!IsDllsAllowed())
     {
      Alert("Please Allow DLL Import");
      return(1);
     }
   else
     {
      return(0);
     }
  }
Your only alternative is to modify the other EAs you are trying to protect and have them apply the "Equity Protection" within their own code.
Eleni Anna Branou
Moderator
4853
Eleni Anna Branou  
Thank you Fernardo.
To add comments, please log in or register