Close-up of a trading terminal screen showing candlestick charts and a Day SHORT Stop order ticket, illustrating automated stop and risk management

Automating Risk Management in NinjaTrader: How Bots Handle Stops, Trailing Drawdown, and Position Sizing While You're Away From the Screen

September 14, 2026

Most conversations about NinjaTrader automation start with entries: how a bot spots a breakout, catches a mean-reversion, or reads a volume spike. That's the fun part. But entries are the easy half of the job. The half that actually keeps a funded account alive is what happens after the bot is in a trade — the stop, the trailing drawdown math, and the position size that decided how much was ever at risk in the first place. If you've automated the signal but you're still eyeballing your stop or manually adjusting size between trades, you haven't automated the part that matters most.

Here's what full automation of risk actually looks like inside NinjaTrader 8, and why the traders who build it right are the ones who make it to payout.

Entries Get the Attention, Exits Get You Funded

A strategy that wins on paper can still blow an evaluation if the stop logic isn't hard-coded into the bot itself. NinjaTrader's strategy engine lets you attach a stop-loss order as part of the strategy definition — not a mental note, not a line you promised yourself you'd move, an actual `SetStopLoss()` call that fires the moment the position opens. Same with targets. The bot places the bracket the instant it's filled, which means your risk on any single trade is defined before you've had a chance to feel anything about it.

That distinction matters more once you're trading a funded account. Prop firms don't grade you on your best trade — they grade you on whether you can survive the daily loss limit and the trailing drawdown without a single lapse. A bot that automates entries but leaves stop placement to you is only half a system. The other half — the part that protects the account when you're not watching — is where automation earns its keep.

Trailing Drawdown Isn't Optional Math

Every one of Push Button Trading's supported firms — Apex, Lucid, BluSky, TakeProfit — enforces some version of trailing drawdown, and the mechanics differ enough between end-of-day and intraday trailing that guessing gets expensive. An automated system doesn't guess. It can track your account's high-water mark in real time and size the next trade against the distance to your actual drawdown floor, not the number you think you remember from onboarding.

That's the difference between a bot that trades a fixed contract count regardless of conditions and one that adjusts size based on how much cushion is actually left. Early in an evaluation, with the full drawdown buffer available, a strategy might run its standard size. After a rough stretch that's eaten into the cushion, the same strategy should be sizing down automatically — not because you remembered to check the account, but because the risk logic is wired into the bot's position-sizing rules from the start.

Position Sizing Is a Rule, Not a Feeling

The single most common way traders damage a funded account isn't a bad strategy — it's sizing up after a win because it felt right, or adding contracts to "make back" a loss faster. Automation removes that decision from the moment of highest emotional risk. When position size is a function written into the bot — account balance, distance to drawdown floor, and a fixed risk-per-trade percentage — there's no version of the day where a losing streak talks you into doubling size to catch up.

This is also where running multiple bots gets dangerous if you're not thinking about it. Two strategies that each risk a conservative amount independently can stack into an oversized combined position if they both fire at once — say, a breakout bot and a volume-spike bot both triggering off the same opening move. Automated risk management has to account for portfolio-level exposure, not just per-bot exposure, or you end up with more contracts on than any single strategy was ever designed to carry alone.

What This Looks Like in Practice

Set up correctly, an automated NinjaTrader risk stack does three things without you touching the mouse:

  • Attaches a stop and target to every position the instant it fills — never a naked position waiting on a human reaction
  • Recalculates position size against your current distance to trailing drawdown before each new signal, not against a number that was true on day one
  • Caps combined exposure across every bot running on the account, so correlated strategies can't quietly stack into an oversized position

None of this requires writing your own strategy code. Push Button Trading's bot lineup — ORB, Snapback, Scalper, 10 EMA, and Volume Spike among them — ships with this logic already built in, and the Bot Portfolio Builder handles the cross-bot exposure check when you're running more than one strategy on the same account. You're not hand-managing stops or recalculating size between trades; the automation layer that turns a signal into an order is the same layer enforcing the risk rules underneath it.

The Bots Still Need the Right Account Behind Them

Automated risk management makes a strategy survivable. It doesn't make a bad account setup survivable — running oversized contracts on an undersized account, or ignoring which firm's drawdown rules you're actually trading against, will still find a way to end an evaluation. The bots handle the mechanical discipline. You still need to know the rules of the account you're running them on.

If you're still managing stops by hand or sizing trades by feel, that's the gap worth closing first — before adding a second or third bot to the mix. Start with the 14-day free trial and watch how the automated stop, trailing drawdown, and position-sizing logic behaves on your own account, or dig into the mechanics hands-on in the 30-Day Bot Workshop ($199) before you scale up to a funded evaluation. Either way, the goal is the same: risk decisions made by code before the market ever gives you a reason to second-guess them.

Back to Blog

EMAIL NEWSLETTER

Funded Account Tips

Weekly emails sent to your inbox

We don't sell your information, it's stored securely.

Learn More About

  • Funded Accounts 101

  • Quick Start Checklist

  • Top rated prop firms to use

  • What to Do vs. What to Avoid

  • Why most traders fail "evaluation accounts"

  • Pro trading tipes & strategies

  • How trailing drawdown works

  • And more...

Works with funded accounts (Lucid, Tradeify, etc)

and personal cash accounts

Push Button Trading logo — automated NinjaTrader 8 trading bots and education

We provide trading technology, education and technology tools that make trading easy and fun. Through the use of our custom-built technologies, education classes, and online community we bridge the gap for some of the most challenging obstacles traders face.

1113 Murfreesboro Rd

Ste 106

Franklin, TN 37064

Trustpilot 4.4 out of 5 star rating for Push Button Trading

4.4 / 5 Trustpilot

BBB Accredited

Risk Disclosure: Futures and forex trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing one's financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results.

Hypothetical Performance Disclosure: Hypothetical performance results have many inherent limitations, some of which are described below. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown; in fact, there are frequently sharp differences between hypothetical performance results and the

actual results subsequently achieved by any particular trading program. One of the limitations of hypothetical performance results is that they are generally prepared with the benefit of hindsight. In addition, hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk of actual trading. for example, the ability to withstand losses or to adhere to a particular trading program in spite of trading losses are material points which can also adversely affect actual trading results. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for

in the preparation of hypothetical performance results and all which can adversely affect trading results.

Testimonial Disclosure: Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

Educational Disclosure: The Push Button Trading mentorships, courses, classes, live events, and content are provided for educational purposes only. We are not providing financial advice. It is your responsibility to test all strategies and plans. You are the only one pushing the buttons and it is your responsibility to fully understand the risks before implementing any of the education provided by Push Button Trading.

© 2026, Push Button Trading, All Rights Reserved