Problem with pending order in EA

 

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?

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