SimonValle / Publications
Forum
Wrong DEAL_ENTRY Properties on Backtest
void OnTradeTransaction ( const MqlTradeTransaction &trans, const MqlTradeRequest &request, const MqlTradeResult &result) { if (trans.symbol!= Symbol ()) return ; if (trans.type != TRADE_TRANSACTION_DEAL_ADD ) { return ; }