I'm using a demo account on Alpari and I can do manual trades just fine, and I've also enabled the option that allow EAs to trade. So I don't understand why isTradeAllowed() always returns false?
- Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes
- SendOrder sl and tp advise
- isTradeAllowed() and Investor-Pwd-Acces
Jasus5457:
I'm using a demo account on Alpari and I can do manual trades just fine, and I've also enabled the option that allow EAs to trade. So I don't understand why isTradeAllowed() always returns false?
I'm using a demo account on Alpari and I can do manual trades just fine, and I've also enabled the option that allow EAs to trade. So I don't understand why isTradeAllowed() always returns false?
No, only if you have some setting set that way you not allow to trade
What have you done to allow your EA to trade...
There are two places where you have to allow the EA's to trade
deVries:
There are two places where you have to allow the EA's to trade
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register