Codes

Open two Market orders in opposite directions for MetaTrader 4

Can be used for hedging or trading breakout systems

Forum

Possible bug with OnTradeTransaction event handler

I've come across an issue that's a bit strange, the code below is able to tell anytime a pending order is deleted/cancelled on the chart. Outside tester the result.order field carries the ticket of the pending order that was cancelled, but if you run this same code on the strategy tester the

Help! Strategy tester unable to complete EA backtest

Hello I recently developed my first EA the code is all looking fine it compiles with no errors or warnings. However, when I try to run a backtest on strategy tester it's either it runs for some time then pauses with no errors being logged anywhere, one time I left it thinking it may be running in