> For the complete documentation index, see [llms.txt](https://docs.tradeviewmarkets.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tradeviewmarkets.com/accounts-and-platforms/trading-platforms/metatrader-5/install-and-log-in.md).

# Install & Log In to MetaTrader 5

Download and install MetaTrader 5, open a demo, connect your Tradeview Markets account and log in on mobile with a QR code.

## Download MetaTrader 5

1. Sign in to the Cabinet and select **Platforms** in the left menu.
2. Select the **MetaTrader 5** card.
3. Under **Download for:**, choose **Windows**, **macOS**, **WebTrader**, **Google Play**, or **App Store**, as shown for your account.
4. If you use the public website instead, open the MetaTrader 5 page under **Trading → Platforms**, scroll to the bottom of the page, and select **Download Platform**.

## Install the desktop terminal

1. Open your **Downloads** folder and run the installer.
2. Read the licence agreement and select **Next**.
3. Wait for the installation to complete and select **Finish**. The terminal starts automatically.
4. On first start the terminal shows the **Open an Account** window with the list of brokers.

## Choose an option in "Open an Account"

| Option                                                      | Use it when                                                                                                                                                                                             |
| ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connect to an existing trade account**                    | You already have an MT5 account number from the Cabinet. Enter **Login** and **Password**, select the Tradeview **Server** shown on your account card, and select **Finish**.                           |
| **Open a demo account to trade virtual money without risk** | You want a practice account and the Tradeview demo server accepts registration from the terminal. Otherwise create the demo account in the Cabinet (see below).                                         |
| **Open a real account to trade with real money**            | You want a live account. Tradeview verifies identity and creates live accounts through the Cabinet, so use [Create an Account](https://docs.tradeviewmarkets.com/getting-started/create-an-account.md). |

<figure><img src="https://1464240515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsUxIYPiScWr2xuS89YX3%2Fuploads%2Fgit-blob-59c4615975a654f25e05cafe05c99da2da345cde%2Fopen-account-type.png?alt=media" alt="The Open an Account window: a demo account, a real account, or an existing account" width="520"><figcaption><p>The Open an Account window: a demo account, a real account, or an existing account.</p></figcaption></figure>

{% hint style="info" %}
Demo accounts are for practice and learning only. Performance in a demo account does not predict results in live trading, because demo execution does not include real market liquidity.
{% endhint %}

## Get a demo account

The recommended way to get a demo account is the Cabinet: select **Account → + Create a New Demo Account**, choose the market, the platform and the settings, and read the login, password and server from the success screen. See [Create a Demo Trading Account](https://docs.tradeviewmarkets.com/accounts-and-platforms/manage-trading-accounts/create-demo-trading-account.md). The demo account then appears on its own account card, and you connect to it the same way as a live account.

## Open a demo account from the terminal (where available)

Some brokers let the terminal create a demo account directly. If the Tradeview demo server offers this, the steps are:

{% stepper %}
{% step %}

### Find the Tradeview server

In the company list, type **Tradeview** in the search field, select the Tradeview server, and select **Next**.
{% endstep %}

{% step %}

### Enter your details

Enter your **First name**, **Second name**, **Email**, and **Phone**. Choose the **Account type**, the **Deposit** (virtual balance), and the **Leverage**. Select the checkbox to accept the terms and the data protection policy, then select **Next**.
{% endstep %}

{% step %} <img src="https://1464240515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsUxIYPiScWr2xuS89YX3%2Fuploads%2Fgit-blob-a8da7b44663939bc291c76e59ebda2ab44b4dafc%2Fdemo-registration.png?alt=media" alt="The demo registration form with the server, the account type, the deposit and the leverage." data-size="original">
{% endstep %}

{% step %}

### Save the credentials and the QR code

The registration screen shows the **Name**, **Server**, **Account type**, **Deposit**, and the status **New account opened**, followed by the **Login**, the **Password**, and the **Investor** (read-only) password. Record them in a safe place. A **QR code** is shown next to the store badges.
{% endstep %}

{% step %} <img src="https://1464240515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsUxIYPiScWr2xuS89YX3%2Fuploads%2Fgit-blob-b422f66c0dc4301975d64af2d41dd30f6e1329be%2Fqr-sign-in.png?alt=media" alt="The Registration step shows the new login and a QR code for the mobile app." data-size="original">
{% endstep %}

{% step %}

### Log in on mobile with the QR code (optional)

Open the MetaTrader 5 mobile app, go to **Settings → New Account**, and select **Sign in with QR code**. Point the camera at the QR code. The app connects without typing the login, password, or server.
{% endstep %}
{% endstepper %}

## Connect to an existing account

1. Select **File → Login to Trade Account**, or right-click **Accounts** in the **Navigator** and select **Login to Trade Account**.
2. Enter the **Login** (account number).
3. Enter the **Password**. Use the main password to trade or the investor password for a read-only session.
4. Select the Tradeview **Server** shown on your account card. The live MT5 server is listed as **Tradeview Live**, and the demo server as **Tradeview-Demo**.
5. Select **Save password** only on a device that you control, then select **OK**.

<figure><img src="https://1464240515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsUxIYPiScWr2xuS89YX3%2Fuploads%2Fgit-blob-99daf8feaa7644f2446fd75b34ef6245932e2f09%2Flogin-window.png?alt=media" alt="The Login window opened from the Navigator: login, password and server" width="768"><figcaption><p>The Login window opened from the Navigator: login, password and server.</p></figcaption></figure>

A successful login shows the connection status in the bottom-right corner and your account line in the **Trade** tab of the Toolbox.

{% hint style="warning" %}
**Login to Trade Account** is not the same as **Login to MQL5.community**. The MQL5 login is for the Market, Signals, and Code Base services and does not connect your Tradeview account.
{% endhint %}

## Subscribe to real-time market data

Futures and stock accounts receive exchange prices only with an active market-data subscription. Without it, quotes are delayed or do not update.

1. Sign the market-data agreement that Tradeview sends for your account.
2. In MetaTrader 5, open the **Navigator** window (**Ctrl+N**).
3. Select **Subscriptions**.
4. Select the data package for the exchange you trade and confirm the subscription. The package details show its terms.
5. Keep only one session open. The subscription is valid while a single session is active on the account; a second login, for example desktop and mobile at the same time, puts the quotes on a 15-minute delay.
6. If quotes are still delayed, restart the terminal and check the **Journal** tab.

## Log in on mobile and WebTrader

1. Install the app from **Google Play** or the **App Store** through the links in the Cabinet.
2. In the app, open **Settings → New Account**, search for **Tradeview**, and select **Login to an existing account**, or use **Sign in with QR code**.
3. For WebTrader, open it from the Cabinet **Platforms** page, select the Tradeview server, and enter your login and password.

{% hint style="warning" %}
Never share your main trading password. Never enter your MT5 password on a website other than the Cabinet or the platform itself.
{% endhint %}

{% hint style="warning" %}
Trading involves a high level of risk and is not suitable for every investor. Losses can exceed the amount initially invested. Tradeview services are not offered in the United States or to US Persons.
{% endhint %}
