ericy : I have similar code in MT4 which has no problem for 200 pending orders . Do you think it is MT5 issue?
I'm tired of repeating the same thing: do not be greedy, do not break the limits.
You violate the limits and this is visible in the messages in the "Journal" tab. The trading server directly tells you - you are greedy and act illogically.
Please add to the input parameters of your script the parameter: indent from the specified price, where the required price will be specified from which the pending order will be set.
Please add to the input parameters of your script the parameter: indent from the specified price, where the required price will be specified from which the pending order will be set.
It will make a great universal script.
It already exists:
Gap for pending orders UP from the current price (in pips) - indentation from the current price for the first pending order;
Gap for pending orders UP from the current price(in pips) - the gap from the current price for the first pending order;
I meant the gap from the current price, which can be specified manually in the input parameters, i.e. the possibility of setting the grid in any place on the chart, for example after a level breakdown.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I've tried Sleep(1000), the same error happened. Any idea how to get around this error and place 200 pending orders ?
There is only one recipe: to reduce your greed and not try to place many pending orders.
I have similar code in MT4 which has no problem for 200 pending orders . Do you think it is MT5 issue?
I'm tired of repeating the same thing: do not be greedy, do not break the limits.
You violate the limits and this is visible in the messages in the "Journal" tab. The trading server directly tells you - you are greedy and act illogically.
This is the last warning.
Hello.
We need to add a coefficient parameter to change the volume of each subsequent lot. Coefficient should be multiplied or added.
For example: coefficient - 1.6
1. 1
2. 1*1.6
3. 1.6*1.6
4. 2.56*1.6
or
1. 1
2. 1+1.6
3. 2.6+1.6
4. 4,2+1.6
Hello.
We need to add a coefficient parameter to change the volume of each subsequent lot. The coefficient should be multiplied or added.
For example: coefficient - 1.6
1. 1
2. 1*1.6
3. 1.6*1.6
4. 2.56*1.6
or
1. 1
2. 1+1.6
3. 2.6+1.6
4. 4,2+1.6
I don't know. As far as I'm concerned, such volume management is unnecessary.
Please add to the input parameters of your script the parameter: indent from the specified price, where the required price will be specified from which the pending order will be set.
This will make a great universal script.
Hello Vladimir.
Please add to the input parameters of your script the parameter: indent from the specified price, where the required price will be specified from which the pending order will be set.
It will make a great universal script.
It already exists:
It's already there: