Download MetaTrader 5

My EA ignore the TP on the tester

To add comments, please log in or register
What is the best place to find a programmer? Freelance service!
wgohar
45
wgohar 2016.01.09 23:57 
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
4684
Marco vd Heijden 2016.01.10 05:54  
Do you have the code?
Osama Shaban
1444
Osama Shaban 2016.01.10 08:01  

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