Closing at the same level
-
Hi @miro1360, I do not understand why the three orders at the same closing level closing at different times0_1496693139738_example01.mq4

where am I doing wrong?
-
you are doing all right, ....
sell is closed by Ask price (and opened by Bid price)
buy is closed by Bid price (and opened by Ask price)
visible price (price from which are bars created) is Bid price, in this situation 1.29576 is Bid price, and you can see that buys at 17:35 were closed by Bid price (at same time) and sell was closed earlier
you can know, that Ask>Bid, and spread is difference between both (in case of MT4 tester, it is fixed spread), and when Ask>Bid, depends on spread Ask price triggered sell trade earlier, here turned into another direction (Bid was not 1.29576, but was below this price) and after while goes back and than Bid reached 1.29576 (Ask was in this case more) and here was Buy closed ....
.... I am not sure if this is right explanation why it happens, but what else it can be (it is not caused by fxdreema) ... -
@miro1360 ok, thanks for the explanation, I'll work on that
-
@miro1360 no,no, I change my mind