NinjaTrader

NinjaTrader strategy development means writing NinjaScript, the platform’s own C# framework, so your rules can place and manage their own orders. As NinjaTrader developers, we build those strategies, plus the indicators and add-ons that go with them.

Every project is custom. We have no ready-made NinjaTrader app, so each build starts from your rules, your instruments and the way you trade.

What we build in NinjaScript

NinjaScript covers far more than strategies, so a project with a NinjaTrader developer can include any of these:

Strategies can trade futures, and forex where your data and broker connection offer it. If you are unsure what your idea needs, describe it in plain words and a NinjaTrader developer from our team will map it to the right pieces.

Where NinjaScript runs

According to the official NinjaScript documentation, the framework runs inside the NinjaTrader 8 desktop application on Windows. It is not used for the web trader. If you trade only in a browser or on a phone, you still need the desktop platform. It can run on your PC or on a VPS.

Code lives in the built-in NinjaScript Editor, which compiles it and suggests code as you type, or in Visual Studio. The Strategy Builder can also generate NinjaScript without typing any code. That makes it a handy starting point, though complex logic soon outgrows it.

Where the code a NinjaTrader developer writes runs: NinjaScript inside the NinjaTrader 8 desktop app on a Windows PC or VPS
A strategy trades only while the desktop platform stays open.

How a strategy handles orders

Two settings shape almost every NinjaScript strategy. The first is how often its logic runs, a property called Calculate:

The second is who handles the orders. In the managed approach, the platform applies its own order rules and tracks your signals for you. The unmanaged approach removes that layer for full control, and the official guide reserves it for very experienced programmers. The code then has to track, change and cancel every order itself.

Our NinjaTrader developers pick the simplest setting that does the job. A strategy that only needs closed bars should not burn CPU on every tick. Likewise, most strategies never need the unmanaged approach.

The three Calculate modes: on bar close by default, on each tick, or on price change
Of the three Calculate modes, the default OnBarClose puts the least load on the CPU.

Testing in the Strategy Analyzer

The Strategy Analyzer runs a NinjaScript strategy on history. It offers backtests, optimisation and walk-forward optimisation. Monte Carlo simulation then shows a spread of possible outcomes instead of one curve.

Walk-forward testing matters most to our NinjaTrader developers. It tunes settings on one stretch of history, then checks them on the next stretch the tuning never saw. A strategy that only works on the data we tuned it on usually fails that test.

Even so, a backtest proves the code follows your rules, not that the strategy will profit. Fills, slippage and commissions differ in live trading. Every build also runs on a demo account before it goes live.

Testing a strategy: backtest, optimise, walk-forward check, Monte Carlo, then a demo account
Every strategy follows this test path, and a failure at any stage sends it back for changes.

Futures details a strategy must handle

Futures bring rules that forex traders rarely meet, and a NinjaTrader developer has to make a strategy respect each one:

Starting from other code or the Strategy Builder

Many projects begin elsewhere: a Pine Script strategy, an MT4 or MT5 Expert Advisor, or a Strategy Builder file that grew too complex. The logic carries over, but the code does not, so as NinjaTrader developers we rebuild it in C# and compare trades on the same history. Our MT4 and MT5 EA development page covers the MetaTrader side.

A Strategy Builder file is the easiest of these to pick up, as its code is already NinjaScript. We then add what the Builder has no way to set up, such as custom exits or state that survives a restart.

What every NinjaScript strategy we build includes: your sizing, a daily loss cap, hours, restart handling and a log
Whatever its entry rules, every strategy we build gets these parts for live trading.

How a project runs

  1. You describe the strategy in plain words, with a chart, an indicator or code from another platform.
  2. We ask about the gaps, such as what happens when a position is already open at start-up.
  3. A fixed quote follows, with a timeline, once the scope is clear.
  4. We build and test in the Strategy Analyzer and on demo, and you see results as we go.
  5. You review it before any live trading. Then your NinjaTrader developer walks you through setup.
How a NinjaScript project runs: describe, scope and quote, build and test, review on demo, hand over
A project moves through five stages, from your first message to a strategy you run yourself.

You keep the source code of what our NinjaTrader developers build. To begin, ask for a quote.

NinjaTrader or MetaTrader?

NinjaTrader is best known for futures. If you trade forex or CFDs at a broker that offers MetaTrader, a ready-made tool may already fit. For example, the TradingView to MT4/MT5 copier turns your alerts into orders.

Prefer another C# platform? Our cTrader page covers cBots. See also the platforms page and our trading strategy automation service. If your idea starts on TradingView, read about Pine Script development.

NinjaTrader strategy development: what to ask a NinjaTrader developer

Do you have a ready-made NinjaTrader bot?

No. Every NinjaScript build is custom, written to your rules. Our ready-made copiers run on MetaTrader 4 and 5.

Does NinjaScript work in the web or mobile app?

No. The web and mobile apps cannot run NinjaScript, so a strategy needs the Windows desktop version open on a PC or VPS.

Can you convert my TradingView strategy?

Yes. As your NinjaTrader developer, we rebuild the Pine Script logic in NinjaScript and compare its trades with the original on the same history.

Can you finish a strategy I started in the Strategy Builder?

Often, since the Builder already produces NinjaScript. A NinjaTrader developer can take that code and add the parts the Builder cannot express.

Will the strategy be profitable?

Nobody honest can promise that. We build your rules correctly and test them properly, walk-forward checks included. We also tell you when a result looks like curve fitting.

Can outside signals trade on NinjaTrader?

A bridge from outside signals, such as alerts, is custom work. Your NinjaTrader developer checks your setup and the signal format before quoting it.

Do I get the source code?

Yes. The source comes with the build, so the code stays yours.

Can it follow prop firm rules?

Daily loss limits and trading hours can live in the code. Whether a firm allows automation at all is its own rule, so read your agreement first.

How much does NinjaTrader strategy development cost?

The cost depends on the rules, the instruments and the testing needed. Tell us what the strategy should do and we will quote a fixed price: ask for a quote.

WhatsApp