M Trader and Reversal Strategy now use daily trade-count limits in NinjaTrader 8. Completed wins and losses decide when new entries stop, replacing the old PnL-based limits. You can count total outcomes or consecutive results.

What's new

Both strategies have removed these Strategy Limit settings:

  • Daily Loss Limit
  • Daily Target Limit
  • Account PnL Limit

An open trade could cross a daily target or account PnL threshold before it finished. The replacement waits for completed results: win, loss or breakeven. Floating account PnL touching a daily number no longer stops the strategy.

That makes a session easier to review against finished trades. You can stop after 2 losses in a choppy market, or after a set number of wins. Total counts cover the session; consecutive counts stop new entries after a streak.

How it works

The new controls are:

  • Use Loss Trade Limit? turns on the limit that blocks new entries after the configured loss count.
  • Loss Trade Limit sets the number of losing trades at which entries stop.
  • Loss Consecutive? chooses losses in a row when on, or total session losses when off.
  • Use Win Trade Limit? turns on the corresponding limit for winning trades.
  • Win Trade Limit sets how many winning trades the strategy allows before stopping new entries.
  • Win Consecutive? chooses wins in a row when on, or total session wins when off.
  • Breakeven Threshold Ticks defines how close to entry a finished trade can be and still count as breakeven.

Loss limits. Turn on Use Loss Trade Limit? to block new entries once the configured count is reached. With Loss Consecutive? off, it counts total losing trades for the session:

Loss Trade Limit = 2
Loss Consecutive = off

This stops entries after 2 losses, even if wins separate them. Turn Loss Consecutive? on to count only losing trades in a row:

Loss Trade Limit = 2
Loss Consecutive = on

This stops entries after 2 consecutive losing trades. Choose total losses to cap the session count, or consecutive losses to stop after a bad streak.

Win limits. Turn on Use Win Trade Limit? to stop new entries after the win count. With Win Consecutive? off, wins count across the session:

Win Trade Limit = 2
Win Consecutive = off

This stops entries after 2 wins. Turn Win Consecutive? on to require winning trades in a row:

Win Trade Limit = 2
Win Consecutive = on

This stops entries after 2 consecutive wins. Both options use finished outcomes rather than floating PnL to decide when the session's goal is met.

Breakeven trades. The win and loss counters ignore trades within the breakeven threshold. The default is:

Breakeven Threshold Ticks = 5

A trade finishing within plus or minus 5 ticks of entry counts as breakeven:

+4 ticks = breakeven
-3 ticks = breakeven
+8 ticks = win
-9 ticks = loss

Breakeven trades do not reset a consecutive streak. For example:

Loss, Breakeven, Loss

That counts as 2 consecutive losses. The middle trade adds nothing to either counter and does not break the streak.

At the limit. M Trader or Reversal Strategy blocks new entries, not position management. An open trade remains subject to the loaded settings, including:

  • stop loss
  • profit target
  • trailing stop
  • break-even logic
  • news exits
  • pre-close exits

Trade logs. The format is unchanged, and logs are still written only during real-time trading. Historical processing rebuilds the counters without duplicate log lines. This supports reloads and Strategy Analyzer testing. Compare the strategy's behaviour with the log after a session to check the counts.

Testing a setup. Start with small, obvious values so you can check how trades are counted. There is no single limit for every market or template. Starting points include:

  • Stop after 2 total losses in the session: enable Use Loss Trade Limit?, set Loss Trade Limit to 2 and leave Loss Consecutive? off.
  • Stop after 2 consecutive losses: use the same loss limit with Loss Consecutive? on to stop after a bad streak.
  • Stop after 1 or 2 wins to protect a strong session: enable Use Win Trade Limit? and choose the win count you want to test.
  • Keep the default Breakeven Threshold Ticks of 5 at first. Review real examples before adjusting which finished trades count as neutral.

FAQ

What changed in M Trader and Reversal Strategy?

Both strategies now use trade-count daily limits instead of PnL-based limits. They wait for finished trade results before deciding whether to allow another entry.

Which old daily limit settings were removed?

Daily Loss Limit, Daily Target Limit and Account PnL Limit. These PnL-based controls have been replaced by trade-outcome settings.

What replaced the old PnL limits?

Use Loss Trade Limit?, Loss Trade Limit and Loss Consecutive? control losses. Use Win Trade Limit?, Win Trade Limit and Win Consecutive? control wins. Breakeven Threshold Ticks defines neutral results.

Does a limit close an open trade?

No. It blocks new entries only. An open trade still uses the strategy's stop, target, trailing stop, break-even logic, news exits and pre-close exits.

How does a consecutive loss limit work?

With Loss Consecutive? on, the strategy stops after the configured number of losses in a row. Breakeven trades do not break that sequence.

How does a total loss limit work?

With Loss Consecutive? off, the strategy counts all losing trades during the session. They do not need to happen back to back.

Do win limits work the same way?

Yes. Win Consecutive? selects either total winning trades for the session or only wins in a row.

What is Breakeven Threshold Ticks?

It defines how close to entry a finished trade can be and still count as breakeven. The default is 5 ticks.

Do breakeven trades count as wins or losses?

No. Both counters ignore them. At the default threshold, +4 ticks and -3 ticks count as breakeven, while +8 ticks counts as a win and -9 ticks as a loss.

Do breakeven trades reset a consecutive streak?

No. A consecutive win or loss streak continues across a breakeven trade. Loss, Breakeven, Loss still counts as 2 consecutive losses.

Does the trade log format change?

No. Logs are still written only during real-time trading. Historical processing rebuilds counters without duplicate log lines, including after reloads and during Strategy Analyzer testing.

Resources & support