Scripts: Pending orders UP - page 2

 
I've tried Sleep(1000), the same error happened. Any idea how to get around this error and place 200 pending orders?
 
ericy :
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?
 
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.


This is the last warning.

 
Very interesting script!
 

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

 
qazzaq12345:

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.

 
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.

This will make a great universal script.
 
alexniko38:
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:

  • Gap for pending orders UP from the current price (in pips) - indentation from the current price for the first pending order;
 
Vladimir Karputov:

It's already there:

  • 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.