Volume limit at 50 in the tester
Hi!
My EA runs with variable lot volume (increasingly), but when it reaches 50, I get this: ordersend error 131 (but there is more than enough money).
Why? Can I increase it?
Thanks!
I tried out this:
double Lots=MarketInfo(Symbol(),MODE_MAXLOT);
and got 50.
OK. Can I increase it?
Thanks!
That is set by the Dealer, and the tester gets it from the last known Dealer's setting, I think.
Change your demo to a different Dealer that supports your larger lot size.
That is set by the Dealer, and the tester gets it from the last known Dealer's setting, I think.
Change your demo to a different Dealer that supports your larger lot size.
Thank you phy!
Hi!
My EA runs with variable lot volume (increasingly), but when it reaches 50, I get this: ordersend error 131 (but there is more than enough money).
Why? Can I increase it?
Thanks!