Download MetaTrader 5

My EA ignore the TP on the tester

To add comments, please log in or register
wgohar
45
wgohar  
Some times my EA exceed the TP and ignore it until the signal reverse and converted to lose. any one have an idea why it behaves like this on the tester?
Marco vd Heijden
Moderator
5308
Marco vd Heijden  
Do you have the code?
Osama Shaban
1555
Osama Shaban  

It could be one of these reasons ... 

- Your TP could be less than StopLevel defined by your broker ...

- You may be use Bid price to open Buy orders in some places of your code instead of Ask.

- You may be use Ask price to open Sell orders in some places of your code instead of Bid. 

- Slippage !.

- Price re-quote during order modify to put the TP price !.  

To add comments, please log in or register