Setting up NinjaTrader 8
Before you can run the NinjaScript that HorizonAI writes for you, you need NinjaTrader 8 installed. This guide covers the free download, creating an account, setting up a simulation (paper-trading) account, and connecting market data: everything you need before opening the NinjaScript Editor.
Install NinjaTrader 8
- Go to the official NinjaTrader website and download NinjaTrader 8 (the installer is roughly 500 MB).
- Run the downloaded installer and follow the prompts. Accepting the defaults is fine for most people.
- Launch NinjaTrader when the install finishes. The first window you see is the Control Center, the hub for everything in the platform.
Create your free account
The first time you open NinjaTrader, it prompts you to create a free account or log in. Creating one is free and requires no credit card. With it you can trade in simulation and, after signing up, get a short free trial of real-time market data.
Add a simulation account
A simulation account lets you run strategies and indicators against market data without risking real money. NinjaTrader ships with a built-in Sim101 account, and you can add more:
- In the Control Center, open the Accounts tab.
- Right-click anywhere in the empty area and choose Add Simulation Account.
- Set your starting balance and any other options, then confirm. The defaults are fine to start.
Connect market data
To see live prices and run strategies in real time, connect a data feed:
- In the Control Center, go to Connections → Configure.
- In the Available list on the left, double-click a provider (for example NinjaTrader / the bundled data connection) to move it to the Configured list on the right.
- Follow the prompts to finish setting it up, then use Connections to connect.
Next steps
Now that NinjaTrader is installed and you have a simulation account:
- Using the NinjaScript Editor: Paste your HorizonAI code, compile it with F5, and add it to a chart
- Backtesting in NinjaTrader: Test a strategy in the Strategy Analyzer
Related Guides
- Running NinjaScript on NinjaTrader 8: The full HorizonAI → NinjaTrader overview
- Getting Started with HorizonAI: Generate NinjaScript with AI
- How to Prompt: Get better NinjaScript from the AI