> ## 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:

<Steps>
  <Step title="Select Market Type">
    Choose **Futures** or **CFD** (forex/CFD). This filters the available platforms to only show relevant options.
  </Step>

  <Step title="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
  </Step>

  <Step title="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.

    <Info>
      For platforms with only one matching exchange (like FTMO), the exchange is auto-selected and the dropdown is disabled — just click **Next** to continue.
    </Info>
  </Step>

  <Step title="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.
  </Step>

  <Step title="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.
  </Step>

  <Step title="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.
  </Step>
</Steps>

## Platform Export Instructions

### Rithmic (RTrader Pro)

<Steps>
  <Step title="Open RTrader Pro">
    Launch RTrader Pro and log in to your account.
  </Step>

  <Step title="Export Performance">
    Go to **File** → **Export** → **Performance**.
  </Step>

  <Step title="Save CSV">
    Choose a location and save the file as CSV.
  </Step>
</Steps>

### Tradovate

<Steps>
  <Step title="Open Performance">
    Log in to Tradovate and go to the **Performance** section.
  </Step>

  <Step title="Navigate to Orders">
    Click on the **Orders** tab.
  </Step>

  <Step title="Export CSV">
    Click **Export** to download your order history as a CSV file.
  </Step>
</Steps>

### MetaTrader 5

<Steps>
  <Step title="Open Trade History">
    In MT5, go to **View** → **Toolbox**, then click the **Trade History** tab.
  </Step>

  <Step title="Set Date Range">
    Right-click in the trade history area and set your desired date range, or select **All History**.
  </Step>

  <Step title="Save Report">
    Right-click again and select **Save as Detailed Report**. Save the HTML file.
  </Step>
</Steps>

<Warning>
  Make sure to select **Detailed Report**, not the basic report. The detailed report includes the deal-level data needed for accurate trade pairing.
</Warning>

### MetaTrader 4

<Steps>
  <Step title="Open Account History">
    In MT4, click the **Account History** tab at the bottom of the terminal.
  </Step>

  <Step title="Set Date Range">
    Right-click in the history area and select **All History** or a custom date range.
  </Step>

  <Step title="Save Report">
    Right-click again and select **Save as Detailed Report**. Save the HTML file.
  </Step>
</Steps>

### TradingView

<Steps>
  <Step title="Open Paper Trading">
    In TradingView, open the **Paper Trading** panel.
  </Step>

  <Step title="Go to History">
    Click **History** → **Filled** to see your completed orders.
  </Step>

  <Step title="Export Data">
    Click **Export data** to download the CSV file.
  </Step>
</Steps>

### FTMO

<Steps>
  <Step title="Open Trading Journal">
    Log in to your FTMO account and navigate to the **Trading Journal** section.
  </Step>

  <Step title="Select Date Range">
    Set your desired date range for the trades you want to export.
  </Step>

  <Step title="Export to CSV">
    Click **Export to CSV** to download your trade history.
  </Step>
</Steps>

## 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

<Info>
  Currency conversion happens automatically. You just need to confirm the detected currency during the account confirmation step.
</Info>

## 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

<AccordionGroup>
  <Accordion title="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>

  <Accordion title="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>

  <Accordion title="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>

  <Accordion title="Can I delete imported trades?">
    Yes. You can delete individual trades or all trades from an import batch through the Trades page.
  </Accordion>

  <Accordion title="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>

  <Accordion title="Do I need a subscription to import trades?">
    Trade import is available during your free trial and on all paid plans.
  </Accordion>
</AccordionGroup>
