Not enough money While haveing 10000000 XTS as balance
Your EA is broken. It doesn't adjust for different account currencies.
How to fix it?
I've just tested a simple strategy on demo account of mt5, then I got that error while on real account but with XTS as my currency
U mean this?
_MAHA_ #: I've just tested a simple strategy on demo account of mt5, then I got that error while on real account but with XTS as my currency. U mean this? https://www.mql5.com/en/articles/113
Yes, but you should also consider how your EA is calculating the volume. - Is it considereing the risk of the stop loss or just the margin?
- Is it using the tick size and the tick value, both to calculate the risk of the stop-loss?
- Is it checking the minimum and maximum allowed volume per order, as well as the volume step size?
- Is it considering the maximum limit of all the open positions as well?
- Is it checking the margin used for the volume in question?
- Is it checking the available free margin as well?
XTS is the currency of my country defiend by my broker, and the expert advisor cant perform a long/short position cuz of not enough money[no money]...
10000000 XTS is not small amount, by changing XTS to USD then the Robot can make auto tradeing