Tech Setup

How to Set Up an Automated Strategy in NinjaTrader 8: A Beginner's Checklist

Cameron Bennion
·
2025-04-30
·
5 min read
Laptop and plant on a wooden work desk
Photo by Joyful on Unsplash.

Most strategy failures are setup failures

When an automated strategy misbehaves in NinjaTrader 8, the cause is usually setup: it is attached to the wrong account, loaded on the wrong chart, or running on a data connection that dropped. The strategy code is rarely the first thing to check. The steps below follow the order I would work through them. For anything not covered here, the official help guide at NinjaTrader 8 Help Guide is the authority, because menu details change between versions.

Step 1: Install the platform and understand the connections

Your next step

Review the setup before you automate it.

Read the NinjaTrader setup and strategy limits, then test in SIM. YMI bot access belongs to Pro. Check your broker or prop firm's rules before enabling automation.

NinjaTrader 8 is a Windows desktop application. Mac users typically run it inside a Windows virtual machine or on a remote Windows machine. The available data and brokerage connections change over time, so check the current connection list in the help guide and with your broker before assuming one will work.

Keep three things separate in your head, because beginners blend them. An account (such as the built-in Sim101) is where orders go. A data connection (a live feed, the simulated data feed or the Playback connection) is where prices come from. Playback replays historical data and is a different thing from simply selecting a SIM account. Open Connections > Configure in the Control Center to set up the feed.

Step 2: Import the strategy package

Strategies are often distributed as a NinjaScript add-on ZIP. In the Control Center, choose Tools > Import > NinjaScript Add-On, then select the downloaded ZIP file itself. Do not unzip it first and point the importer at a folder. NinjaTrader compiles the package on import. If a compile error appears, confirm your NinjaTrader 8 version meets the package's stated requirements and read the error text before reinstalling anything.

Step 3: Add the strategy to the right chart

Open a chart on the instrument and timeframe the strategy documentation specifies. Right-click the chart, choose Strategies, and add the strategy. Then check these parameters every single time:

  • Account: the correct SIM or live account.
  • Quantity: start at the smallest size that exercises the logic, and confirm the number you typed is the number you meant.
  • Enabled: the strategy only acts when this is checked. You can also see running strategies in the Control Center Strategies tab.
  • Calculate mode and other inputs: set these to what the strategy's documentation says. An evaluation mode such as on bar close versus on each tick changes when entry conditions are checked, so do not guess.
  • Contract month: make sure the chart uses the contract you intend. Roll dates differ by product, so check the exchange schedule.

Chart timeframe is the next most common slip. A strategy built for one bar size will produce different signals on another.

Step 4: Run it in SIM and read the results correctly

Run the strategy on a SIM account for enough sessions to see it handle different conditions, and review its trades in the Trade Performance report. You are checking mechanics: Does it enter at the prices the rules describe? Is it trading the quantity you set? Is the trade frequency in the range its documentation describes? Is the stop and target behavior what you expect?

Be honest about what this proves. A SIM run can catch configuration errors. It does not prove an edge, and a small number of simulated trades certainly does not. Simulated fills also ignore your place in the real queue and real slippage, so SIM results look cleaner than live ones will.

Step 5: Test your exit and risk behavior before live

Before risking real money, find out what happens when things go wrong. In SIM, disable the strategy while it has an open position and working orders, and observe what actually happens to them. Unplug the data connection and watch the behavior. Check whether the strategy has a daily loss parameter, and whether your broker or platform offers account-level limits. If the daily limit is not something you have seen trigger, do not count on it. A safety control that has never fired is a guess.

Common setup mistakes

  • The strategy runs on SIM while you believe it is live, or the reverse.
  • The same strategy is applied twice, so each signal sends two orders.
  • The data connection drops and the strategy sits blind or leaves a position unmanaged.
  • An expired contract month is left on the chart.
  • A VPS or remote machine is used where the firm's rules prohibit it. Some firms limit order transmission to your personal device, so check before you rent a server.

Check the firm's rules before automating anything

Automation permissions differ by firm and product. Apex explicitly prohibits automated or algorithmic preset bots that place, modify or cancel trades without personal real-time review (Apex prohibited activities). Topstep's API access depends on the account product, and its TopstepX API page describes SIM-only API availability and no VPS, VPN or remote-server order transmission (TopstepX API access). Tradeify allows personal bots only under conditions such as sole ownership, exclusive use there and no high-frequency trading (Tradeify guidelines), which a shared commercial bot does not meet. I do not present YMI bots as prop-firm or evaluation-passing tools.

YMI Pro membership ($795/month, no trial) includes bot access. For how each current variant behaves, read the KPL bot specs and Marty bot specs instead of relying on a summary. If Pro is what you are after, here is the Pro membership page.

Tags:

About the Author

Cameron Bennion
Cameron BennionAbout Cameron →

Founder, Young Money Investments · Quant Trader

Cameron trades ES, NQ, and futures across multiple market cycles. He founded Young Money Investments to teach systematic, data-driven trading and manages Magnum Opus Capital. His work emphasizes documented rules, risk controls, and review over outcome promises.

Systematic Futures TradingHedge Fund Manager, Magnum Opus CapitalRisk-First EducationNinjaTrader SpecialistFutures: ES · NQ · RTY · CL · GC
Learn the daily planning process:7-Day Free Trial →

Free, No Credit Card

Get the Free Room Preview

See how the room works before choosing a membership. Follow a setup in SIM and review what happened.

🔒 Your information is secure. We respect your privacy and will never spam you.

Risk Disclosure & Disclaimer

Educational Purposes Only: The content provided in this blog is for educational and informational purposes only. It does not constitute financial, investment, or trading advice. Young Money Investments is not a registered investment advisor, broker-dealer, or financial analyst.

Risk Warning: Trading futures, forex, stocks, and cryptocurrencies involves a substantial risk of loss and is not suitable for every investor. The valuation of futures, stocks, and options may fluctuate, and as a result, clients may lose more than their original investment.

CFTC Rule 4.41 - Hypothetical or Simulated Performance Results: Certain results (including backtests mentioned in these articles) are hypothetical. Hypothetical performance results have many inherent limitations. 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.

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

Review the setup before you automate it.

Read the NinjaTrader setup and strategy limits, then test in SIM. YMI bot access belongs to Pro. Check your broker or prop firm's rules before enabling automation.

Pro is $795/month. No trial. Start in SIM.