In NinjaTraderIn MT5How we handle it
Instruments
Futures, forex or stocks from your NinjaTrader connection
Forex, CFDs, stocks or futures from your MT5 broker
If the instrument changes, we agree which one replaces each NinjaTrader instrument and adapt sizes, price distances and sessions.
Trade size
Contracts or units
Lots, rounded to the symbol’s volume step
Sizes are recalculated for the MT5 symbol and checked against your risk rules.
Positions
The strategy’s own position, tracked separately from the account’s
Separate positions on a hedging account; one shared position per symbol on a netting account
We map each entry and its exits for your account type — on netting, with the EA’s own record of entries — and agree how the EA works alongside other EAs, manual trades and positions already open at start.
Trading hours and time zone
The trading hours template and the platform time zone
Your broker’s server time and the symbol’s sessions
We compare sessions, bar timestamps and the time zone each version’s logic uses — matching chart clocks alone isn’t enough.
Calculation
Calculation mode per script: on bar close, on each tick or on price change
An EA reacts to tick events for its chart symbol; ticks that arrive while one is being processed aren’t queued
We reproduce the agreed calculation mode and check intrabar behaviour — for multi-symbol strategies, also how updates for other symbols arrive.
Bar types
Tick, volume, range, Renko and other bar types
Time-based timeframes; other bars through custom symbols or code
We agree how non-time bars are built — and, for strategies, that signals use them while orders go to the broker’s real symbol.
Backtesting
Strategy Analyzer, with order fill resolution settings
Strategy Tester, on real ticks, 1-minute bars or open prices
We agree the tester settings, so both backtests are compared on similar assumptions.
What may not carry over one to one
Some things depend on the platform itself: NinjaTrader add-ons and third-party indicators the code relies on need their source or a replacement; .NET libraries need an MQL5 equivalent or a DLL, checked one by one; and tick data for order flow — trade prices, volumes, bid and ask — depends on what your MT5 broker provides. We point these out before work starts and agree the closest MT5 equivalent with you.