> ## Documentation Index
> Fetch the complete documentation index at: https://help.edgeanalyzer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Trade Import

> Import trade history from Rithmic, Tradovate, MT5, MT4, TradingView, or FTMO

Trade import lets you bring your trade history into Edge Analyzer without a live connection. Upload a CSV or HTML file from your platform, and Edge Analyzer will parse your trades, detect your account, and import everything automatically.

## When to Use Trade Import

* You don't have a live Rithmic, Tradovate, or ProjectX connection
* You trade on MT5, MT4, TradingView, or FTMO (import-only platforms)
* You want to backfill historical trades from before you connected
* You want to analyze paper trading results from TradingView
* You trade with FTMO and want to import your journal trades

## Supported Platforms & File Formats

| Platform | File Format | How to Export |
| - | - | - |
| **Rithmic** (RTrader Pro) | CSV | Order History → Filter "Completed" → Export CSV |
| **Tradovate** | CSV | Orders tab → Set date range → Export CSV |
| **MetaTrader 5** | HTML | History tab → Right-click → Save as Report History (HTML) |
| **MetaTrader 4** | HTML | Account History tab → Right-click → Save as Detailed Report |
| **TradingView** | CSV | Paper Trading → History → Filled → Export data |
| **FTMO** | CSV | FTMO Trading Journal → Select date range → Export to CSV |

## Step-by-Step Walkthrough

The import wizard guides you through these steps:

**1. Select Market Type**

Choose **Futures** or **CFD** (forex/CFD). This filters the available platforms to only show relevant options.

**2. Select Platform**

Choose which platform your trade file is from. Available platforms depend on your market type:

* **Futures**: Rithmic, Tradovate
* **CFD**: MetaTrader 5, MetaTrader 4, TradingView, FTMO

**3. Select Exchange / Prop Firm**

Pick your exchange or prop firm. This determines how accounts are categorized and which prop firm rules apply.

* **Futures**: Apex Trader Funding, Bulenox, Tradeify, Take Profit Trader, etc.
* **CFD**: FTMO, FundedNext, The5ers, IC Markets, Pepperstone, etc.

> [!NOTE]
>
> For platforms with only one matching exchange (like FTMO), the exchange is auto-selected and the dropdown is disabled — just click **Next** to continue.

**4. Upload File**

Drag and drop or click to upload your trade history file. Edge Analyzer validates the file format and shows a preview of detected trades.

**5. Confirm Account**

Edge Analyzer auto-detects your account ID from the file. You can either:

* **Select an existing account** from the dropdown (filtered to accounts matching the selected platform)
* **Create a new account** with the detected account ID

If creating a new account, confirm the account details and it will be created automatically with the correct platform and prop firm association.

**6. Preview & Import**

Review the trades that will be imported. You'll see a summary of:

* Number of trades detected
* Date range covered
* Any duplicate trades that will be skipped
* For MT5/MT4: deposits and withdrawals detected

Click **Import** to finalize.

## Platform Export Instructions

### Rithmic (RTrader Pro)

**1. Open RTrader Pro**

Launch RTrader Pro and log in to your account.

**2. Export Performance**

Go to **File** → **Export** → **Performance**.

**3. Save CSV**

Choose a location and save the file as CSV.

### Tradovate

**1. Open Performance**

Log in to Tradovate and go to the **Performance** section.

**2. Navigate to Orders**

Click on the **Orders** tab.

**3. Export CSV**

Click **Export** to download your order history as a CSV file.

### MetaTrader 5

**1. Open Trade History**

In MT5, go to **View** → **Toolbox**, then click the **Trade History** tab.

**2. Set Date Range**

Right-click in the trade history area and set your desired date range, or select **All History**.

**3. Save Report**

Right-click again and select **Save as Detailed Report**. Save the HTML file.

> [!WARNING]
>
> Make sure to select **Detailed Report**, not the basic report. The detailed report includes the deal-level data needed for accurate trade pairing.

### MetaTrader 4

**1. Open Account History**

In MT4, click the **Account History** tab at the bottom of the terminal.

**2. Set Date Range**

Right-click in the history area and select **All History** or a custom date range.

**3. Save Report**

Right-click again and select **Save as Detailed Report**. Save the HTML file.

### TradingView

**1. Open Paper Trading**

In TradingView, open the **Paper Trading** panel.

**2. Go to History**

Click **History** → **Filled** to see your completed orders.

**3. Export Data**

Click **Export data** to download the CSV file.

### FTMO

**1. Open Trading Journal**

Log in to your FTMO account and navigate to the **Trading Journal** section.

**2. Select Date Range**

Set your desired date range for the trades you want to export.

**3. Export to CSV**

Click **Export to CSV** to download your trade history.

## Account Auto-Creation

When you import trades, Edge Analyzer automatically detects the account from your file:

* **Rithmic/Tradovate**: The account ID is read from the CSV data
* **MT5/MT4**: The account number and broker name are extracted from the HTML report header
* **FTMO**: The account ID is extracted from the CSV data
* **TradingView**: You provide the account name during import

If the account already exists, you can select it from the dropdown. Otherwise, a new account will be created automatically with the correct platform, exchange, and prop firm association.

## Currency Conversion

For MT5 and MT4 accounts that trade in non-USD currencies (EUR, GBP, JPY, etc.):

* Edge Analyzer detects the account currency from the trade report
* All monetary amounts (profit, commission, swap) are converted to USD
* Conversion uses historical daily exchange rates from the European Central Bank (ECB)
* The rate used is from the trade's closing date for maximum accuracy

> [!NOTE]
>
> Currency conversion happens automatically. You just need to confirm the detected currency during the account confirmation step.

## Deposits & Withdrawals (MT5/MT4)

MetaTrader trade reports include balance transactions (deposits and withdrawals) alongside trade data. Edge Analyzer detects these automatically:

* **Deposits** are imported as purchases linked to the account
* **Withdrawals** are imported as payouts linked to the account
* Non-USD amounts are converted using historical ECB exchange rates
* These appear in your Purchases & Payouts section for ROI calculation

This is processed after your trades are imported in the final step of the wizard.

## Duplicate Detection

Edge Analyzer prevents duplicate imports:

* Each trade is identified by a combination of account, instrument, and timestamp
* If you re-import the same file, previously imported trades are automatically skipped
* Only new trades are added to your account
* The preview step shows you exactly how many trades will be imported vs. skipped

## Accessing Trade Import

You can start a trade import from multiple places in the app:

* **Get Started** page → **Import Trades** button
* **Accounts** page → **Import Trades** button
* **Trades** page → **Import Trades** button

## FAQ

> [accordion] Can I import from the same platform I have a live connection for?
>
> Yes. You can import CSV files from Rithmic or Tradovate even if you have a live connection. This is useful for backfilling historical trades from before you connected.

> [accordion] What happens if I import duplicate trades?
>
> Edge Analyzer automatically detects duplicates and skips them. The preview step shows you which trades are new and which already exist.

> [accordion] Why are my MT5/MT4 amounts showing in USD?
>
> Edge Analyzer converts all amounts to USD using historical ECB exchange rates. This ensures consistent P\&L tracking across all your accounts regardless of currency.

> [accordion] Can I delete imported trades?
>
> Yes. You can delete individual trades or all trades from an import batch through the Trades page.

> [accordion] My file won't upload — what should I do?
>
> Make sure you're uploading the correct file format for your platform (CSV for Rithmic/Tradovate/TradingView/FTMO, HTML for MT5/MT4). Check that the file isn't empty and was exported using the correct method described above.

> [accordion] Do I need a subscription to import trades?
>
> Trade import is available during your free trial and on all paid plans.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.