Download MetaTrader 5

Problem with pending order in EA

To add comments, please log in or register
Bruno Sallmutter
1393
Bruno Sallmutter 2014.04.18 12:26 

Does anyone know the problem that pending order in the Expert Advisor not function correctly.

The pending orders are executed in the strategy tester correctly.
At "Active Trades" in the demo and in real account correctly.
At "Alpari" in the demo account but not in the real account.
In real account they are immediately executed than buying.

How can it be that the EA works anywhere, not only in a specific real account?

Rodrigo Malacarne
Moderator
9950
Rodrigo Malacarne 2014.04.18 13:56  
BrunoS:

Does anyone know the problem that pending order in the Expert Advisor not function correctly.

How can it be that the EA works anywhere, not only in a specific real account?

Hi Bruno,
What is the filling mode and expiration type you are using on your EA? Depending on these two properties you won't be able to send pending orders.
Alain Verleyen
Moderator
31138
Alain Verleyen 2014.04.18 19:31  
BrunoS:

Does anyone know the problem that pending order in the Expert Advisor not function correctly.

The pending orders are executed in the strategy tester correctly.
At "Active Trades" in the demo and in real account correctly.
At "Alpari" in the demo account but not in the real account.
In real account they are immediately executed than buying.

How can it be that the EA works anywhere, not only in a specific real account?

There is a lot of different accounts, with various trading parameters that can play a role in this issue.

Can you check the Experts and Journal tab of the Toolbox window to see if you get error message about this pending orders. Also which kind of pending orders is it ?

To add comments, please log in or register