How To Understand Broker Allow EA

 

Hello,

I want to know my broker is allowing or not allowing using expert advisors. But i do not want to try it with give orders with an expert. Is there any code base or something like that say me that my broker allowing expert advisors?

 
IsTradeAllowed()
 
Vasyl Nosal:
IsTradeAllowed()
Nope. It's about Terminal (client) allowing trading, the question is about the broker side (server).
 

Alain Verleyen:
Nope. It's about Terminal (client) allowing trading, the question is about the broker side (server).

 Yes. I need answer for broker. 

 
ADEM KARATEPE:

Please don't answer inside the quote.

mql4 or mql5 ?

 
Alain Verleyen:

Please don't answer inside the quote.

mql4 or mql5 ?

brokers usually post such information under account terms and conditions/general comparison tabs for different account types.

a good idea would be to simply get in contact with the broker, and clarify.

 

for meta trader 4. 

 
ADEM KARATEPE:

for meta trader 4. 


Checking if trading is allowed for any Expert Advisors/scripts for the current account

Automated trading can be disabled at the trade server side. Sample check:

   if(!AccountInfoInteger(ACCOUNT_TRADE_EXPERT))
     {
      Alert("Automated trading is forbidden for the account ",AccountInfoInteger(ACCOUNT_LOGIN),
       " at the trade server side");
      ExpertRemove(); 
      return(-1);
     }
 
Roberto Jacobs:

Checking if trading is allowed for any Expert Advisors/scripts for the current account

Automated trading can be disabled at the trade server side. Sample check:

I will try that. Thank you very much. 

 
ADEM KARATEPE:

I will try that. Thank you very much. 

you're welcome ^_^
Reason: