Guide · Risk settings

NinjaTrader daily loss limit and strategy safety settings

Where a daily loss limit can live in NinjaTrader, what each kind can and can't do, and a checklist of the strategy settings that decide how an automated strategy starts, exits and handles errors.

NinjaTrader daily loss limit and strategy safety settings: cover illustration

Short answer. NinjaTrader can enforce a daily loss limit in three places: the account Risk Settings for accounts held with NinjaTrader, a strategy's own coded limit, or a risk add-on. The account setting covers every trade on that account, while a strategy's limit only stops that one strategy. No limit is a guaranteed cap: in a fast market, fills can come in beyond it.

A daily loss limit is a line you set in advance: once the day's losses reach it, trading stops. In NinjaTrader it can live in three places, and they work very differently.

1. Account Risk Settings

If your futures account is held with NinjaTrader, you can set account-wide limits in the NinjaTrader Account Dashboard: click your initials, open Settings, go to Accounts, then Risk Settings for the account. In NinjaTrader Web the same settings sit behind the shield icon, and they apply whether you trade from the desktop, web or mobile app. Simulated accounts have Risk Settings too, so you can try a limit there first. The options include:

  • Loss limits. A daily loss limit, a weekly loss limit and a trailing max drawdown.
  • Profit triggers. Daily and weekly profit triggers that stop trading once a gain is reached.
  • Order guards. A maximum number of open positions, and a list of the only products the account may trade. These reject new orders that would break them rather than closing anything.
  • A settings lock. "Prevent changes when trading is locked" stops you loosening a limit after it has triggered. Changes are then only allowed between 5 PM and 6 PM ET, and NinjaTrader support can't unlock it for you.

When a loss limit or profit trigger is reached, NinjaTrader cancels working orders, closes open positions and locks the account against new trades. How long the lock lasts depends on the limit:

When a locked NinjaTrader account unlocks
Limit reachedTrading unlocks
Daily loss limit or daily profit trigger5 PM CT (6 PM ET) the same day, when the next trading day opens
Weekly loss limit or weekly profit trigger5 PM CT (6 PM ET) the following Sunday
Trailing max drawdownStays locked until you contact NinjaTrader support

A few things to know:

  • It counts fees. The limit works on the account's P&L including commissions and fees.
  • Realized or open P&L? Check before you rely on it. NinjaTrader's own pages describe this differently. Its support article and support staff describe the limits as working on net P&L including open positions, over a trading day that starts at 5 PM CT, while a 2026 NinjaTrader blog post says the loss limits and profit triggers count realized P&L only and the trailing max drawdown counts unrealized P&L. If an open losing trade matters to your plan, confirm with NinjaTrader how your account's limits count it.
  • It's a trigger, not a guaranteed cap. In a fast market, positions can close beyond the limit.
  • It works with your desktop closed. It's enforced on NinjaTrader's side, not by your PC.
  • It doesn't replace margin rules. Margin requirements still apply on top of any limit you set.
  • Leave unused fields blank. A limit set to $0 triggers right away.
  • It only covers accounts held with NinjaTrader. If your account is with another provider, ask that provider what account-level limits it offers.

NinjaTrader Web also offers per-trade alerts: max loss per trade, max profit per trade and max time in trade. These are alerts only. They tell you a trade has reached the level, but they don't close it.

2. A strategy's own daily loss limit

Many automated strategies carry a daily loss limit in their code: once that strategy's loss for the day reaches the limit, it stops trading until the next day. It's the only kind that stops one bot while the rest of the account carries on, but it only counts that strategy's own trades. It doesn't see manual trades, other strategies or other accounts, and it only works while NinjaTrader is open.

Six FuturesBotLab bots have one built in, with a default you can adjust: Bullion Break (MGC · GC), Gold Reload (MGC · GC), Nasdaq Reload (MNQ · NQ), Nasdaq Blitz (MNQ · NQ), Dow Rubber Band (MYM · YM) and Gap Runner (MES · ES). Opening Shot (NQ) has an optional one, off by default, and Gold Dipper (MGC · GC) and Dawn Range (MGC · GC) don't have one. See the risk rules across all 9 bots or compare the bots.

See pricing for the plans.

3. Risk add-ons

Third-party add-ons can watch an account's P&L and flatten or lock trading at a threshold. They run inside your NinjaTrader desktop, so like any strategy they only work while the platform is open and connected. Test any add-on on a simulated account before you rely on it.

Three kinds of daily loss limit compared
TypeWhat it countsWorks with the platform closedWhat it stops
Account Risk SettingsThe whole account, fees includedYesAll trading on the account, until 5 PM CT for a daily limit
Strategy daily loss limitThat strategy's own tradesNoThat strategy, for the rest of the day
Risk add-onDepends on the add-onNoDepends on the add-on

They can be layered. The account limit is the backstop that works even if your PC goes down; a strategy limit stops one bot without touching the rest.

Strategy settings checklist

When you add a NinjaScript strategy to a chart or the Strategies tab, its properties window controls how it behaves. Check these every time:

  • Account. Confirm it's the one you mean: a simulated account for testing, or your trading account.
  • Instrument and data series. The contract and month, bar type and interval the strategy was built for, and its Trading Hours template.
  • Calculate. On bar close, On price change or On each tick. This is often part of the strategy's design, and changing it can change what it does.
  • Start behavior. What happens when you enable it while the strategy's calculated position and the account don't match. "Wait until flat" is the default. The "synchronize account" options can send market orders to bring the account in line with the strategy, and "Adopt account position" only works with strategies written for it. Before it starts, NinjaTrader also cancels any orders the strategy left working from an earlier run; if they can't be cancelled within 40 seconds, it doesn't start.
  • Exit on session close. Flattens the strategy's position a set number of seconds before the session in the Trading Hours template ends.
  • Order quantity. Either a default quantity you set or one the strategy calculates. Check the contract count every time: a mini contract carries ten times the dollar risk of its micro.
  • Entries per direction. How many entries the strategy may hold in the same direction.
  • Error handling. Set in the strategy's code. NinjaTrader's default stops the strategy, cancels its orders and closes its position when an order is rejected. A strategy can be written to ignore rejections and handle them itself, so ask the developer which approach it uses.
  • Connection loss handling. What the strategy does after a disconnect: keep running, recalculate (the default) or stop, after a short delay you can set. NinjaTrader keeps the defaults for new strategies under Tools, Options, Strategies.

Habits that prevent most problems

  • Don't trade an instrument by hand on the account where a strategy is trading it.
  • To stop a strategy, disable it. Don't cancel its orders or close its position by hand while it runs.
  • Run the platform on a machine that stays awake, with a stable connection.
  • Check the Log tab of the Control Center after any disconnect or unexpected stop.
  • Test every new strategy, and every settings change, on a simulated account first.

To see how many stopped-out trades a daily limit allows at your contract, size and stop, use the daily loss limit calculator.

Free tools: tick value calculator · position size calculator · futures market hours · daily loss limit calculator.

Related guides

Bots mentioned in this guide

Futures trading involves substantial risk of loss and is not suitable for every investor. Past or hypothetical results don't guarantee future results. This guide is educational, not investment advice. Risk disclosure.

FAQ

Common questions

Does NinjaTrader have a daily loss limit?

Yes. Accounts held with NinjaTrader have Risk Settings in the Account Dashboard, including daily and weekly loss limits and a trailing max drawdown. Strategies and add-ons can also enforce their own limits.

Does the NinjaTrader daily loss limit include commissions?

The account Risk Settings work on daily P&L including commissions and fees. A strategy's own limit counts whatever its code counts, so read its documentation.

Can I lose more than my daily loss limit?

Yes. A limit triggers an exit, but in a fast market fills can come in beyond it. No limit is a guaranteed cap.

When does a locked NinjaTrader account unlock?

It depends on the limit. A daily loss limit or profit trigger unlocks at 5 PM CT (6 PM ET) the same day, a weekly one at 5 PM CT the following Sunday, and a trailing max drawdown lock stays until you contact NinjaTrader support.

Does a strategy's daily loss limit stop my other trades?

No. It only stops that strategy. Use the account Risk Settings if you want a limit across the whole account.

Do NinjaTrader's per-trade settings close a losing trade?

No. Max loss per trade, max profit per trade and max time in trade in NinjaTrader Web are alerts only. To close a trade automatically you need a stop order, a strategy's own exit or an account loss limit.

Membership details

Let the bot follow the rules, so you don't have to.

Every bot, every update, one membership.