Black Friday: 2 years for the price of 1.Or 3 months for the price of 1. On Pro.2 d 5 hleftSee plans →
Free tool

NinjaTrader vs TradingView for backtesting futures

NinjaTrader and TradingView compared from their own pages as read on 25 November 2026: the language each runs, where it runs, the futures history it tests and the costs it charges if you set none. Written in Pine Script? Paste it here: a free account with no card runs it on CME Group futures with $2.50 a contract and a tick of slippage charged.

Free plan · unlimited backtests · no card
The difference in a lineTwo futures backtesters and ours
  • NinjaTraderC# in its Windows app; minute data since 2006 from its own feed
  • TradingViewPine Script in the browser; 5,000 to 40,000 bars by plan
  • Alpha ChartsPine v6 on two years of 1-minute futures bars with costs charged

Taken from each product's own pages on 25 November 2026.

Paste your script

Pine v6, as TradingView has it.

The difference in a lineTwo futures backtesters and ours
  • NinjaTraderC# in its Windows app; minute data since 2006 from its own feed
  • TradingViewPine Script in the browser; 5,000 to 40,000 bars by plan
  • Alpha ChartsPine v6 on two years of 1-minute futures bars with costs charged

Taken from each product's own pages on 25 November 2026.

Choose by the language your strategy is in and the computer you test on.

NinjaTrader backtests strategies written in C# (NinjaScript) in its desktop app for Windows. Its own data connection gives minute futures data since 2006. TradingView backtests Pine Script in the browser on the bars your chart loads: 5,000 on the free Basic plan up to 40,000 on Ultimate. Deep Backtesting on Premium and Ultimate goes up to 2 million bars. Neither charges commission or slippage until you set them. For a Pine strategy, Alpha Charts runs two years of 1-minute futures bars with costs charged by default on Prop Ready and Pro. A free account tests the newest 30 days of a chart under an hour.

NinjaTrader and TradingView side by side

TOPICNINJATRADERTRADINGVIEWALPHA CHARTS
Strategy languageNinjaScript (C#)Pine ScriptPine Script v6 as written for TradingView
AI that writes the strategyStrategy Builder writes NinjaScript from plain English (its AI builder) or step by stepAI Copilot writes and applies Pine scripts as a paid add-onThe Pine Copilot writes Pine v6 from plain words; 50 AI credits a day on Free
Where backtests runIts desktop app for Windows; NinjaScript runs only thereThe browser and desktop apps for Windows, macOS and LinuxThe browser
Futures historyFrom your data connection; NinjaTrader's own gives minute data since 2006, daily since 2009 and tick data up to a year backThe bars the chart loads: 5,000 on Basic to 40,000 on Ultimate; Deep Backtesting (Premium and Ultimate) up to 2 million bars and at most 3 years of 1-minute bars on continuous futuresTwo years of 1-minute bars of eight CME Group futures; Free tests the newest 30 days of a chart under an hour
Continuous contractsA merge policy joins contracts at rollover (back-adjusted or not) or keeps to one contract month1! and 2!; not back-adjusted unless that is turned onOne continuous series per market, joined the way its 1! chart is on TradingView
Costs if you set noneNo commission until it is included; 0 ticks of slippageNo commission and no slippage$2.50 a contract each side and a tick of slippage on market and stop orders
Optimisation and out-of-sampleDefault and genetic optimisers; walk-forward optimisation with out-of-sample windows in days; Monte CarloDeep Backtesting runs on a date range you pick; the Pine docs describe in-sample and out-of-sample testing as a method traders applyThe last third of every run judged on its own; Pro's optimiser fits on earlier dates and judges the dates after
FreeAlways free to use for backtesting and simulated tradingThe Basic plan backtests with basic report metricsUnlimited backtests on an account with no card
PriceBrokerage plans that differ in commission rates: Free, $99 a month or $1,499 onceBasic is free; Essential, Plus, Premium and Ultimate are paidProp Ready $39 once for 30 days or $299 for 12 months; Pro $99.99 a month

We read each product's own pages on 25 November 2026 and describe each one in its own words. Prices are the regular ones and leave out sales running that week.

Which one fits your strategy

NinjaTrader fits a strategy you write in C# or build in its Strategy Builder and test on a Windows computer. Its own data connection gives minute data since 2006. Walk-forward optimisation and Monte Carlo are built in. Backtesting is free; its plans are for trading through its brokerage.

TradingView fits a Pine Script strategy tested in the browser on the bars your plan loads. Deep Backtesting on Premium and Ultimate reaches up to 2 million bars. On continuous futures it goes back at most three years on a 1-minute chart.

Alpha Charts fits a Pine Script strategy you want tested on two years of 1-minute futures bars. Costs are charged by default and the last third is judged on its own. A free account runs it on the newest 30 days of a chart under an hour.

Each one from its own pages

NinjaTrader

NinjaTrader backtests strategies written in NinjaScript (C#) in the Strategy Analyzer of its desktop app for Windows. NinjaScript runs only in that desktop app. Its Strategy Builder writes NinjaScript without code from plain English (its AI builder) or step by step (its guided builder). On a Mac, its support pages say a Windows virtual machine such as Parallels may work.

History comes from the data connection you use. For NinjaTrader's own connection, its support pages give minute data since 2006, daily data since 2009 and tick data up to a year back. A merge policy joins contracts at rollover with or without back-adjustment. It can also keep to one contract month.

Commission is left out of a backtest until it is included. Then the account's commission template charges it per contract and per side. Slippage is set in ticks and starts at 0. By default each bar is split into three virtual bars to fill orders. The Strategy Analyzer optimises with its default or genetic optimisers. It also runs walk-forward optimisation with out-of-sample windows set in days. Monte Carlo runs on the results.

It is always free to use for backtesting and simulated trading. Its plans are for its brokerage and differ in commission rates: Free, Monthly at $99 a month and Lifetime at $1,499 once.

Sources read on 25 November 2026: Pricing · Strategy Analyzer · NinjaScript · Strategy Builder · Backtest a strategy · Data by provider · How far back its data goes · Merge policy · Include commission · Slippage · Order fills · Walk-forward optimization · Monte Carlo · Installing on Windows

TradingView

TradingView runs Pine Script strategies on the bars loaded on its chart. The history a test covers depends on the plan: 5,000 intraday bars on the free Basic plan, 10,000 on Essential and Plus, 20,000 on Premium and 40,000 on Ultimate. Deep Backtesting, on Premium and Ultimate, tests up to 2 million bars. On continuous futures an N-minute chart reaches back at most N × 3 years: three years for a 1-minute chart.

Its CME Group data (CME, CBOT, COMEX and NYMEX) is free with a 10-minute delay. Real time is a separate add-on. Its continuous contracts are 1! and 2! and are not back-adjusted unless that is turned on.

Commission can be a percent, an amount per contract or an amount per order. Slippage is a number of ticks. A strategy that sets neither pays none. By default a limit order fills as soon as price touches it. Bar Magnifier, on Premium and Ultimate, prices fills from lower-timeframe bars. Deep Backtesting runs on a date range you pick. The Pine docs describe in-sample and out-of-sample testing as a method traders apply.

AI Copilot writes, checks and applies Pine scripts as a paid add-on. TradingView runs in the browser and has desktop apps for Windows, macOS and Linux. Basic is free; Essential, Plus, Premium and Ultimate are paid.

Sources read on 25 November 2026: Pricing · Strategies (Pine docs) · Strategy properties · Bars by plan · Deep Backtesting · Deep Backtesting date range · Deep Backtesting on continuous futures · Bar Magnifier · CME Group data · Back-adjustment · AI Copilot · Desktop apps

Alpha Charts

Alpha Charts runs Pine Script v6 strategies, as written for TradingView, on two years of 1-minute bars of eight CME Group futures: NQ, ES, crude oil, gold, silver, copper, platinum and palladium (micros included). Each market is one continuous series, joined the way its 1! chart is on TradingView. A free account tests the newest 30 days of a chart under an hour and all two years of 1-hour and daily charts. Prop Ready ($39 for 30 days or $299 for 12 months, paid once) and Pro ($99.99 a month) test all two years of minute bars on a computer.

Unless the script declares its own commission, each contract pays $2.50 a side. Market and stop orders pay a tick of slippage. The last third of every run is judged on its own. Pro's optimiser fits a script's inputs on earlier dates and judges them on the dates after. Pine runs on Alpha Charts' own runtime, where a script can occasionally behave differently from TradingView. It does not connect to a broker or trade live.

Sources read on 25 November 2026: Pricing · Data and methodology

Run your script free

Written in Pine Script? Paste it in the box at the top. It runs on CME Group futures in the Alpha Charts terminal with every trade on the chart and the last third of the data judged on its own. Without a script, the Pine Copilot there writes one from plain words. The futures backtesting software comparison covers five more testers.

Free account

No card, no time limit.

$0
  • Unlimited backtests, costs charged, with the out-of-sample check
  • The Pine script audit and the full trade list
  • The Pine Copilot writes and edits your script
  • 50 AI credits a day
The Alpha Charts terminal a free account opens: the Pine Copilot beside the chart

Prop Ready opens all two years of futures minute bars on a computer for $39 paid once and has 7 days money back. Pro adds the optimiser and every AI tool and has 30 days money back. See the plans

Questions

Is NinjaTrader or TradingView better for backtesting futures?

It depends on your strategy's language and your computer. NinjaTrader tests NinjaScript (C#) strategies in its Windows desktop app. Its own data connection has minute history since 2006. Walk-forward optimisation is built in. TradingView tests Pine Script strategies in the browser on 5,000 to 40,000 bars by plan. Deep Backtesting on Premium and Ultimate runs up to 2 million. Neither charges trading costs until you set them.

Can I backtest a Pine Script strategy on NinjaTrader?

Not as it is. A NinjaTrader backtest needs a NinjaScript strategy. NinjaScript is written in C#. A Pine strategy has to be rewritten in NinjaScript or rebuilt in its Strategy Builder first. TradingView and Alpha Charts run Pine Script strategies as written for TradingView.

How much futures history does each test?

NinjaTrader tests the history your data connection gives. Its own connection has minute data since 2006, daily data since 2009 and tick data up to a year back. TradingView tests the bars the chart loads: 5,000 intraday bars on Basic, 10,000 on Essential and Plus, 20,000 on Premium and 40,000 on Ultimate. Deep Backtesting goes up to 2 million bars and at most three years back on a 1-minute continuous futures chart. Alpha Charts tests two years of 1-minute bars on Prop Ready and Pro. A free account tests the newest 30 days of a chart under an hour.

Does either charge commission and slippage by default?

No. NinjaTrader leaves commission out until it is included. Its slippage starts at 0 ticks. TradingView charges no commission or slippage unless the script or its properties set them. Alpha Charts charges $2.50 a contract each side and a tick of slippage on market and stop orders unless the script declares its own commission per contract.

Do I need Windows for NinjaTrader?

Its backtests do. NinjaScript runs only in its desktop app for Windows. Its support pages say the desktop app cannot run on Mac, Chromebook or Linux. On a Mac a Windows virtual machine such as Parallels may work. TradingView runs in the browser and has desktop apps for Windows, macOS and Linux.

Which one is free?

Both have a free way to backtest. NinjaTrader is always free to use for backtesting and simulated trading. Its paid plans lower its brokerage commissions. TradingView's free Basic plan backtests with basic report metrics on 5,000 intraday bars. Alpha Charts' free account runs unlimited backtests with no card.

Is a backtest a prediction?

No. It is what a strategy's rules would have done on past prices with costs charged. Live fills, news and your own execution differ. Read it as a test of the rules and not as a forecast.

NinjaTrader and TradingView are their owners' names and trademarks. Alpha Charts is not affiliated with either. It read each one's public pages on 25 November 2026 to describe it. Alpha Charts is software for testing trading scripts and gives no investment advice. A backtest shows what rules would have done on past data. It does not show what they will do. Our methodology is in Data and methodology. Updated 28 November 2026.

Test your Pine Script freeFree account, no cardPaste your script