please, could you help me ?
i wrote a smple EA : if ( open - Ask ) > x then buy at market, stop and
target 10 pts.
on mt4, target is reached on current candle, and with mt5 target is reached on next candle.
On attached file, you can see (history tick snapshot) that target price can be reached on current candle with mt5 but it waits next
I do not understand why.
Hi, sorry for code snapshots, i did not know.
in mt4 i use tick data with set spread to 10. in mt5 i imported csv tick data from same source with 10 between bid and ask.
SO i have same bid and same spread.
if you see attached files, on picture 6 you see that price can be reached on MT5 current candle.
I have finally found. on my red candle, the order opens between the close and the low. If the target is lower than the close, it closes on the
current candle and if the target is located higher than the close, it closes on the next candle.
As the candle is red, it considers that it may not touch the target.
Therefore this is not of tick by tick backtest, but only OHLC.
Is it possible to make the true tick by tick with MT5 as with MT4?
Please enable the necessary setting in your browser, otherwise you will not be able to log in.