Strategy Tester number of open positions

 

Hi,

I'm using Strategy Tester and OrderSend is returning error (148 - The amount of opened and pending orders has reached the limit set by a broker.). My code is ok, I have variable controlling maximum number of open positions and getting errors when I set it grater than 500.
How to override limit for testing ??

Regards

 
You don't. "the limit set by your broker."
 
Broker can change the limit per account. Tester works even without login to account.
 
veedoo:
Broker can change the limit per account. Tester works even without login to account.
The Strategy Tester will use the latest parameters from the broker. Even if you then log out, it will use the latest cached values. The only way to change those limits is to login to a different broker with different parameters.

PS! You can however overide some broker parameters by producing your own FXT files with 3rd party tools, but I don't think that maximum number of orders is one of those FXT parameters.
 

Hey,

Thank you for information. I will check what is default value, make clean MT4 installation and run test without login into any account.

Regards

Reason: