How to Automate Daily Loss Limits on NinjaTrader (Without Writing a Single Line of Code)
Every prop firm has a daily loss limit. Hit it and you either fail the evaluation or violate your funded account’s rules — usually with no way to appeal. Most traders know this. What fewer traders know is that NinjaTrader doesn’t enforce these limits automatically by default.
If you’re placing trades manually, you’re the only circuit breaker between a bad session and a blown account. When you’re down $400 and the market is setting up for what looks like a reversal, the rational move is to stop — but that’s also the exact moment where it’s hardest to be rational.
The solution is to remove that decision from the equation entirely. This guide walks through how to automate daily loss limits, daily profit targets, and funded goal protection on NinjaTrader, so your accounts protect themselves.
Why NinjaTrader Doesn’t Handle This Out of the Box
NinjaTrader’s built-in platform includes a Risk Manager feature that can set some account limits, but it has limitations — particularly for prop firm evaluation accounts connected through Tradovate or third-party Rithmic providers. The limits that NinjaTrader’s native settings can enforce depend on the connection type, and for many of the most popular prop firms (Apex, TopStep, Tradeify, MyFundedFutures), the built-in controls either don’t reach the prop account or don’t have the granularity traders need.
The NinjaTrader forums have dozens of threads from traders asking how to code a daily loss limit into a custom strategy — and the replies typically involve writing NinjaScript C# code, which most traders aren’t equipped to do and don’t want to maintain.
There’s a simpler path.
Account Risk Manager: The No-Code Solution
The Account Risk Manager is an add-on built specifically for this problem. It runs natively inside NinjaTrader 8, installs like any other NinjaScript add-on, and gives you a visual dashboard where you configure limits for each account individually — no coding required.
Once limits are set, it monitors your accounts continuously during the trading session. The moment any account hits a configured threshold, it automatically flattens all positions on that account and locks it out from trading for the rest of the day.
It also integrates directly with Duplicate Account Actions, the trade copier — when an account hits its daily limit and gets locked out, it’s automatically excluded from future follower trades. You don’t need to manually remove it from the copier. The whole system handles itself.
What You Can Configure Per Account
Every limit in Account Risk Manager is set at the individual account level — not globally across all accounts. This matters because your five Apex accounts, three TopStep accounts, and two Tradeify accounts all have different dollar limits based on their account size and evaluation stage.
For each account, you can set:
Daily Max Loss — The dollar amount at which the account auto-flattens. Set this slightly inside your prop firm’s actual daily loss limit to give yourself a buffer. If your Apex $50K account has a $2,000 daily loss limit, set your software limit to $1,800. The account flattens before you ever touch the firm’s threshold.
Daily Profit Goal — An optional ceiling for the upside. This sounds counterintuitive — why would you want to stop a winning day early? The reason is consistency rules. Several prop firms require that no single trading day accounts for more than 30-50% of your total evaluation profit. If you’re up $800 on a $2,500 target and that $800 would push you over the consistency limit, the software flattens you before the violation happens.
Funded Goal / Drawdown Threshold — This tracks how close you are to your funded account’s trailing drawdown or maximum loss ceiling. As you approach the threshold, the cell in the dashboard changes color — giving you a visual warning before any action is required.
Auto-Flatten on Limit — When any of the above limits triggers, all open positions on that account are closed at market immediately. No confirmation dialog, no hesitation. Done.
Session Exclusion — After an account flattens from hitting a limit, it’s locked out from accepting new entries for the rest of the trading day. If you’re running the trade copier alongside it, that account is also removed from the follower list automatically.
Setting It Up
Install Account Risk Manager the same way you’d install any NinjaScript add-on: Tools → Import → NinjaScript Add-On in NinjaTrader, then select the .zip file from your download.
Once installed, open the Accounts Dashboard from the NinjaTrader Control Center. Your connected accounts will appear in the dashboard window. For each account:
- Click on the daily loss field and enter your dollar limit — use a value slightly inside the prop firm’s actual limit to give yourself a safety buffer
- If your firm has a consistency rule, set a daily profit goal that keeps you under that ceiling
- Review the funded goal field and enter your trailing drawdown threshold if applicable
- Enable the auto-flatten toggle for each account
That’s the full setup. From that point forward, the dashboard monitors all accounts continuously through the trading session.
You’ll want to confirm the setup before going live with funded accounts. The easiest way to test it is to temporarily set a very low limit on a simulation account — something like $50 — and intentionally trade past it. Verify that the position flattens automatically and the account shows as excluded. Once you’ve confirmed the behavior, reset your sim account limits and enter your real limits for your funded accounts.
What Happens When a Limit Triggers
The sequence is automatic and fast. Here’s what happens when, say, your Account #3 hits its daily loss limit:
- The Account Risk Manager detects that the account’s realized P&L (or combined realized + unrealized, depending on your configuration) has hit the threshold
- A market order is immediately submitted to flatten all open positions on that account
- The account row in the dashboard highlights to indicate it has been triggered
- That account is excluded from any further trade copying for the remainder of the session, even if it remains in the follower list
- Your other accounts continue operating normally — they are not affected
Nothing on your other accounts changes. If you’re running eight funded accounts and one hits its limit during a volatile news spike, the other seven keep copying as normal while the triggered account sits out the day.
Running It Alongside the Trade Copier
Account Risk Manager is designed to work seamlessly alongside Duplicate Account Actions in the unified Accounts Dashboard Suite. You don’t have to monitor a separate window or manually remove accounts from the copier when limits trigger — it all happens in one place.
The combined workflow looks like this: you place a trade on your Master account, the copier replicates it across your active Followers, and the risk manager monitors P&L on each Follower independently. If any account hits its configured limit during the session, it’s flattened and excluded — the rest continue as normal.
This is how serious prop firm traders operate when they’re running ten or more accounts simultaneously. Manual monitoring at that scale is not realistic. The software handles the discipline so you can focus on trading.
Why This Matters More Than Most Traders Realize
The numbers on the prop firm side are stark. Most evaluation failures don’t happen from bad strategy — they happen from a single bad day where a trader kept trading after the logical stopping point. The daily loss limit exists precisely to prevent this, but if enforcing it requires manual willpower in the middle of a drawdown, it’s only as reliable as your emotional discipline at your worst moment.
Automating it removes the decision entirely. You set the limit once, the software enforces it every day without being asked, and you never have to make that choice under pressure again.
That’s not a trading edge. That’s risk management that actually works in practice.
→ See the Account Risk Manager | Bundle with the Trade Copier in the Accounts Dashboard Suite
Risk Disclosure: Futures trading contains substantial risk and is not appropriate for all investors. Past performance is not necessarily indicative of future results. Always verify that your trading setup complies with your prop firm’s specific terms and conditions.