How to do to EA don't lose a trade?

 
This night my EA lost some trades.

This message:" TradeDispatcher: trade context is busy"

How to avoid it?

How many times the EA try to open a trade or modify the StopLoss?

My EA is based on moving averages and HEDGE. I can not lose a trade order.

Thanks.
 
new in the game. dont know how to add or use EA. can u help me?
 

Ed

See 'Error 146 ("Trade context busy") and How to Deal with It'

If your strategy is ABSOLUTELY dependent on getting a trade on at a particular time - its time to think of another one - or at least... have a backup plan.

The article referenced will help you minimise the changes but there is no gaurantee the broker (or his bankers) will take an order at any particular time or price :(

Thats just how Forex is...

So...

There will be times when gaps open between your hedged positions - leaving negative equity on the position

Another snag with hedged positions is that you have to be right twice to get net profit out of the strategy...

My 2c worth

-BB-

 
BarrowBoy,

My EA is absolutely dependent on MA cross.

I will ask the person that programmed my EA to solve this.

Thank you.
Reason: