IsTradeAllowed()
Alain Verleyen:
Nope. It's about Terminal (client) allowing trading, the question is about the broker side (server).
Yes. I need answer for broker.
Please don't answer inside the quote.
mql4 or mql5 ?
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.
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); }
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.
I will try that. Thank you very much.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
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?