Why do Tester System does not stop order to take profit?

 

I am testing my EA.

I am in good position with sell order (with TP at 21174) but when market price down bellow TP (21168) Tester System does not close order to take profit.

Someone please help me on this.

Thank you very much



 

Check your values again (Bid, Ask etc ) and make sure you are looking at, and using the right one in the right place.


If you need real help apart from just guessing, you need to post your code.

 
blogzr3:

Check your values again (Bid, Ask etc ) and make sure you are looking at, and using the right one in the right place.


If you need real help apart from just guessing, you need to post your code.

Yeah, it is issue of Bid and Ask.

Thank you very much.

Reason: