Skip to content

Guide

Which backtest files can I upload to a Nyria strategy?

Nyria reads exports from TradingView, NinjaTrader 8 and MetaTrader 5, plus a plain CSV trade list. Files can be .csv, .xlsx or .html, up to 10 MB. Nyria works out which platform a file came from by reading it. Only the strategy's owner can add a backtest.

Official documentation

Add a backtest to a Nyria strategy

  1. 1

    Open your strategy

    Stay on the Overview tab.

  2. 2

    Select Add backtest

    With no backtest yet, an Add a backtest card shows.

  3. 3

    Choose or drop the file

    Nyria takes .csv, .xlsx and .html files.

  4. 4

    Check the details

    Symbol, Timeframe and Initial capital are read from the file when it has them.

  5. 5

    Set the time zone and import

    Pick the Chart time zone your platform showed, then select Import.

Where each export comes from

  • TradingView: open List of trades in the Strategy Tester, then select Download.
  • NinjaTrader 8: set Display to Trades in the Strategy Analyzer, then Export as a CSV.
  • MetaTrader 5: on the Backtest tab, right-click, choose Report, then HTML.

Notes by platform

  • TradingView's full report as .xlsx works too.
  • NinjaTrader 8: keep the grid's default columns, with times as month, day, year.
  • MetaTrader 5: use an English terminal, and an .html report, not .xlsx.

A plain CSV trade list

  • One row per trade: entry time, exit time, side, entry price, exit price and quantity.
  • Side is long or short, or buy or sell.
  • For futures and forex, include your own P&L column.

What is stored

  • The trades from the file are stored, not the file itself.
  • A second upload of the same file to the same strategy is refused.
  • Export a new run to add another.

Questions

Can I add more than one backtest?
Yes. Select Add backtest again. A menu above the section picks which to show.
Can I add a backtest while creating the strategy?
Yes, in the First release step when the alert source is TradingView.
Do visitors see it straight away?
No. A backtest starts hidden. Turn on Show on the strategy page to share it.
What does the section say about the run?
Simulated on TradingView, not traded live. Other files name their platform.
Which time zone should I pick?
The one your chart showed. It starts on New York, or UTC for crypto and perps.

Next

Try a paper bot first

No card required. Paper is free. Live trading from $15 a month.