why expert closes trade at price 0.00000 ? - page 2

 
Alain Verleyen:
What is the close price in trades history ?

The close Price is the open price (very close to it).
The closing is a result of the code ,where the 0 price triggered a BreakEven trail (and the SL check 4 seconds later closes the trade)
All custom built.
Im suspecting its something about calling MarketInfo so often.
A safety net can be placed for the return value from MarketInfo i guess.

Reason: