M Trader and Reversal Strategy have a new daily trade limit system for NinjaTrader 8. The old PnL-based strategy limits are gone. The new version stops new entries based on finished trade results: wins, losses, and breakeven trades.
This is a cleaner setup for traders who use automated strategies and want the strategy to stop after a certain number of losing trades, winning trades, or consecutive outcomes.
The important part is simple: the trade limit blocks new entries only. It does not force-close an open position just because a limit is reached.
Table of contents #
- What changed?
- Which old settings were removed
- New trade limit settings
- How loss trade limits work
- How win trade limits work
- Breakeven threshold ticks
- What happens when a limit is reached
- Why this is better than PnL-based limits
- Trade log behavior
- Recommended setup ideas
- Useful links
- FAQ
What changed? #
M Trader and Reversal Strategy used to rely on daily PnL-style limits. That worked, but it could create awkward behavior.
For example, a good open trade could cross a daily target or account PnL threshold before the trade was actually finished. In an automated strategy, that is not always the cleanest way to decide whether the system should keep taking new entries.
The new limit system waits for completed trade outcomes. A finished trade is counted as a win, loss, or breakeven trade. From there, the strategy decides whether it should allow another entry.
Which old settings were removed #
The old Strategy Limit settings were removed from M Trader and Reversal Strategy:
- Daily Loss Limit
- Daily Target Limit
- Account PnL Limit
Those settings were based around PnL values. The new system is based around trade outcomes instead.
New trade limit settings #
The new daily trade limit settings are:
- Use Loss Trade Limit?
- Loss Trade Limit
- Loss Consecutive?
- Use Win Trade Limit?
- Win Trade Limit
- Win Consecutive?
- Breakeven Threshold Ticks
These settings give you two ways to stop a strategy for the session. You can stop after a total number of wins or losses, or only after wins or losses happen in a row.
How loss trade limits work #
If Use Loss Trade Limit? is turned on, the strategy stops taking new entries after the loss limit is reached.
If Loss Consecutive? is off, the strategy counts total losing trades for the session.
Example:
Loss Trade Limit = 2
Loss Consecutive = off
In this setup, the strategy stops taking new entries after 2 losing trades during the session. The losses do not need to happen back to back.
If Loss Consecutive? is on, the strategy only counts losing trades in a row.
Example:
Loss Trade Limit = 2
Loss Consecutive = on
In this setup, the strategy stops taking new entries after 2 consecutive losing trades.
How win trade limits work #
The win side works the same way.
If Use Win Trade Limit? is turned on, the strategy stops taking new entries after the win limit is reached.
If Win Consecutive? is off, the strategy counts total winning trades for the session.
Example:
Win Trade Limit = 2
Win Consecutive = off
In this setup, the strategy stops after 2 winning trades in the session.
If Win Consecutive? is on, the strategy only stops after winning trades happen in a row.
Example:
Win Trade Limit = 2
Win Consecutive = on
In this setup, the strategy stops after 2 consecutive winning trades.
Breakeven threshold ticks #
Breakeven trades are ignored by the win and loss counters.
By default:
Breakeven Threshold Ticks = 5
That means a trade that finishes within plus or minus 5 ticks from entry is treated as breakeven.
Example:
+4 ticks = breakeven
-3 ticks = breakeven
+8 ticks = win
-9 ticks = loss
Breakeven trades also do not reset a consecutive streak.
Example sequence:
Loss, Breakeven, Loss
That still counts as 2 consecutive losses because the breakeven trade is ignored by the streak counter.
What happens when a limit is reached #
When a trade limit is reached, M Trader or Reversal Strategy stops taking new entries.
It does not force-close an open position.
That matters. If the strategy is already in a trade, the position can still be managed by the normal trade management rules, including:
- stop loss
- profit target
- trailing stop
- break-even logic
- news exits
- pre-close exits
The trade limit is only an entry filter. It decides whether the strategy can start another trade after the configured outcome limit has been reached.
Why this is better than PnL-based limits #
Trade-count limits are easier to read when you are reviewing an automated strategy session.
Instead of asking whether floating account PnL crossed a number during an open trade, you can look at finished outcomes. The strategy had one loss, two losses, one win, or two wins. That is easier to test and easier to explain.
It also gives more control over bad streaks. If the market is choppy and the strategy takes 2 losses in a row, you can stop new entries for the session. If you want to stop after a set number of wins, you can do that too.
Trade log behavior #
The trade log format stays the same.
M Trader and Reversal Strategy still write trade logs only during real-time trading. Historical processing is used to rebuild the win and loss counters, but it does not write duplicate log lines.
This keeps the log clean while still allowing the trade limit system to work after reloads and during Strategy Analyzer testing.
Recommended setup ideas #
There is no single correct daily trade limit for every market or template. The right setting depends on how you test the strategy and what you want the session to do.
Common starting points are:
- Stop after 2 total losses in the session.
- Stop after 2 consecutive losses.
- Stop after 1 or 2 wins if the goal is to protect a strong session.
- Keep the default breakeven threshold first, then adjust after reviewing real examples.
Test changes in a SIM or test environment before using them on a live, funded, or evaluation account. Automated strategy limits are part of the risk setup, so they should be tested with the same care as stops, targets, and trade times.
Useful links #
You can use these pages to learn more about the strategies and NinjaTrader setup workflow:
- M Trader Strategy for NinjaTrader 8
- Reversal Strategy for NinjaTrader 8
- M Trader setup guide
- How to add and enable a strategy in NinjaTrader 8
- MASCAPITAL articles
FAQ #
What changed in M Trader and Reversal Strategy?
The strategies now use trade-count daily limits instead of the older PnL-based limits.
Which old daily limit settings were removed?
Daily Loss Limit, Daily Target Limit, and Account PnL Limit were removed.
What replaced the old PnL limits?
The new settings are Use Loss Trade Limit?, Loss Trade Limit, Loss Consecutive?, Use Win Trade Limit?, Win Trade Limit, Win Consecutive?, and Breakeven Threshold Ticks.
Does the strategy close an open trade when a limit is reached?
No. The limit only blocks new entries. An open trade can still be managed by the strategy stop, target, trailing stop, break-even logic, news exits, or pre-close exits.
How does a consecutive loss limit work?
If Loss Consecutive? is on, the strategy stops after the configured number of losses in a row.
How does a total loss limit work?
If Loss Consecutive? is off, the strategy counts total losing trades during the session, even if they are not back to back.
Do win trade limits work the same way?
Yes. Win limits can count total winning trades or only consecutive winning trades, depending on the Win Consecutive? setting.
What is Breakeven Threshold Ticks?
Breakeven Threshold Ticks decides how close to entry a finished trade can be and still count as breakeven. The default value is 5 ticks.
Do breakeven trades count as wins or losses?
No. Breakeven trades are ignored by the win and loss counters.
Do breakeven trades reset a consecutive streak?
No. A breakeven trade does not reset a consecutive win or loss streak.
Does the trade log format change?
No. The trade log format stays the same. Logs are still written only during real-time trading, while historical processing can rebuild counters without adding duplicate log lines.