How does the "every tick" method work?

 

How does the "every tick" method work in the strategy tester?

If I have an order like this:

price-StopLoss-TakeProfit

1.5000-1.4995-1.5005

and the bar after I place the trade looks like:

Low-High

1.4990-1.5010

Does the startegy tester count this as a gain or a loss?

Reason: