Forum

Bug on Tester Build 2747 - Missing ticks

While running this minimal piece of code, I have different results on tester. input int nothing = 0 ; double totalticks; int OnInit () { totalticks = 0 ; return ( INIT_SUCCEEDED ); } void OnTick () { totalticks = totalticks+ 1 ; } double OnTester () { return totalticks; } Running for

Backtesting Reports for CloseBy Operations

Hellooo! First, thanks for this amazing product MT5! The EA is working perfectly in backtest and in real account! I have been trading futures and, to avoid paying twice the spread, I am using the CloseBy Positions. If EA wants to buy, it opens a BUY limit order with stop limit. As soon as this order