How to export trades from TradingView (Tradovate and AMP)
How to export your trade history from TradingView as a CSV, step by step, for Tradovate and AMP futures accounts, and turn the file into a trading journal.
To export trades from TradingView, open the trading panel under the chart, go to the Order History tab, and use the panel’s export option to download your orders as a CSV file. The file lists every order your broker sent to TradingView - side, quantity, average fill price, status and time - and it’s the raw material for a trading journal.
TradingView is where many futures traders chart and place orders through a connected broker, such as Tradovate or AMP. But the trading panel only shows a list of orders. It doesn’t tell you your win rate, your expectancy or which hour of the day costs you money. For that, the orders have to leave TradingView.
This guide covers the export step by step, what’s in the file, the mistakes that make an import fail, and how a list of orders becomes a list of trades.
Key takeaways
- Order History is the export you want. Positions and Account History don’t have one row per fill.
- Enable the columns first. Side, quantity, fill price, status, time and order ID are the ones a journal needs.
- Orders are not trades. A journal rebuilds round trips from the fills, with a weighted-average entry and exit.
- Export on a schedule. Weekly, or at the end of each session, so the history never runs past what the panel holds.
- Only filled orders count. Canceled and rejected orders stay in the file but are not trades.
How do you export trades from TradingView?
The menus move a little between TradingView versions, but the path is the same:
- Open a chart and the trading panel. The panel sits at the bottom of the chart. Make sure the broker account you traded is connected and selected.
- Go to the Order History tab. Not Positions, which shows only what is open now, and not Account History, which is a cash ledger.
- Show the columns you need. Open the column settings for the tab and turn on side, type, quantity, filled quantity, average fill price, status, the time column and order ID.
- Export. Open the panel’s menu (on most versions it is behind the TradingView logo or the settings icon at the bottom of the panel), choose Export data (TradingView’s help calls it Download data), pick Order History and confirm. A CSV file downloads.
- Keep TradingView in English for the export. Column names and status values are written in the interface language, and most journals read the English ones.
Do this from the same broker connection you trade on. A demo or paper account is a separate account with its own history.
What’s in the TradingView CSV?
Each row is an order. The column names depend on the broker connection. Here’s what the two most common futures connections look like:
| Field | Tradovate export | AMP export |
|---|---|---|
| Contract | Symbol | Symbol |
| Buy or sell | Side | Side |
| Contracts filled | Filled Qty | Fill quantity |
| Price | Avg Fill Price | Avg fill price |
| When | Update Time | Status time |
| Order state | (from Filled Qty) | Status |
| Unique key | Order ID | Order ID |
A few things to know:
- Canceled and rejected orders are in the file. A stop that was moved three times shows up as several orders, and only the one that filled is a trade. The Tradovate export has no Status column, so filled quantity is what tells you whether an order filled.
- The fill price is an average. One order of 3 contracts filled at two prices shows the average. That’s enough to rebuild the position exactly.
- Times are in the time zone the panel uses. Check it before you compare trades with your chart, and set your journal to the same zone.
From orders to trades: how a journal reads the file
A trading journal’s real work is turning orders back into round-trip trades: from flat to a position and back to flat. Every fill in between changes the size and the average price.
Here’s one MNQ trade made of three orders:
| Time (ET) | Order | Contracts | Fill | Position after |
|---|---|---|---|---|
| 9:41:05 | Buy | 2 | 21,400.00 | Long 2 |
| 9:44:30 | Buy | 1 | 21,390.00 | Long 3 |
| 9:58:12 | Sell | 3 | 21,420.00 | Flat |
The weighted-average entry is (2 × 21,400 + 1 × 21,390) ÷ 3 = 21,396.67. The exit is 21,420, so the trade made 23.33 points on 3 contracts: 23.33 × 3 × $2 = $140, before fees. That’s one trade with one result. A spreadsheet that counts each row as a trade would see three, and its win rate and average win would both be wrong.
Scaling out works the same way in reverse. Sell 1 at the first target and 2 at the second, and the journal still records one trade, with a weighted-average exit.
Common export problems
- The file imports but there are no trades. Usually the export was Positions or Account History rather than Order History, or every row is canceled.
- Trades are missing. The wrong account was selected, or the history didn’t reach back far enough. Export more often.
- Duplicate trades. You exported overlapping date ranges. A good journal uses the order ID to skip rows it has already seen.
- Strange prices around the roll. MNQZ26 and MNQH27 are different contracts. Keep the contract month in the symbol, so the journal doesn’t mix them. (More on the roll in our futures day trading guide.)
- Times are off by hours. The panel’s time zone differs from your journal’s.
What to look at once the trades are in
Once your trades are rebuilt, the questions get more useful:
- What is my expectancy? The average result per trade, after fees. It decides whether you have an edge at all. See expectancy explained.
- Which hours pay? P&L by hour of day often shows one session carrying the account and another draining it.
- How far do my trades go against me before they work? That’s MAE, and it tells you whether your stop is too tight or too loose. See MFE and MAE explained.
- Which mistakes repeat? Oversized losers, revenge trades after a loss, trades outside your plan. Our list of common trading mistakes shows the metric that exposes each one.
How Premo helps
Premo Trading is a TradingView trading journal that reads the Order History export for Tradovate and AMP futures accounts. Upload the CSV and Premo keeps only filled orders, skips orders it has already imported, and rebuilds every position with weighted-average entries and exits. You get win rate, expectancy, drawdown, P&L by hour of day and MFE/MAE in the Trade Journal. For a broker we don’t read yet, send us one export and we add it within 24 hours.
This article is educational and is not investment advice. Futures trading involves substantial risk of loss and is not suitable for every investor. TradingView is a trademark of TradingView, Inc.; Premo Trading is not affiliated with TradingView, Tradovate or AMP.
Frequently asked questions
Can you export trade history from TradingView?
Yes. When a broker is connected to TradingView, the trading panel at the bottom of the chart has an Order History tab, and its export option downloads your orders as a CSV file. Each row is an order with its side, quantity, fill price, status and time.
Why is my TradingView export missing trades?
The export contains what the trading panel shows for the account you are connected to. Check that the right broker account is selected, that the date range covers your trades, and that you exported Order History rather than Positions or Account History. Export regularly - weekly is a good habit - so nothing falls outside the history your broker sends.
Does the TradingView export include commissions?
It depends on the broker connection and the columns you have enabled. Some connections report a commission per order; others don't. A journal should let you see commissions and exchange fees separately from gross P&L, because on micro futures they are a large share of a small target.
What is the difference between orders and trades?
An order is one instruction to buy or sell. A trade, in a journal, is a complete round trip: from flat, through every fill that adds to or reduces the position, back to flat. Three orders - buy 2, buy 1, sell 3 - make one trade with a weighted-average entry.
Can I journal TradingView trades from a broker other than Tradovate or AMP?
Premo reads TradingView's Tradovate and AMP exports today. For another broker connected to TradingView, send us one export and we add support within 24 hours.