> 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-4/install-and-log-in.md).

# Install & Log In to MetaTrader 4

Download and install MetaTrader 4, open a demo or connect your Tradeview Markets account, and bind the one-time password for mobile.

## Download MetaTrader 4

1. Sign in to the Cabinet and select **Platforms** in the left menu.
2. Select the **MetaTrader 4** card.
3. Under **Download for:**, choose **Windows**, **macOS**, **WebTrader**, **Google Play**, or **App Store**.
4. If you use the public website instead, open the MetaTrader 4 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 and may open a web page in your browser.
4. On first start the terminal shows the **Open an Account** window.

On macOS, open the downloaded file and drag **MetaTrader 4** into **Applications**, then start it from there. The first-start window is the same.

## Choose an option in "Open an Account"

| Option                     | Use it when                                                                                                                                                                                              |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Existing trade account** | You already have an MT4 account number from the Cabinet. Enter **Login** and **Password**, select the **Server** shown on your account card, and select **Next**.                                        |
| **New demo account**       | You want a practice account with virtual funds and the Tradeview demo server accepts registration from the terminal. Otherwise create the demo account in the Cabinet (see below).                       |
| **New real account**       | You want a live account. Tradeview creates live accounts through the Cabinet, so use [Create an Account](https://docs.tradeviewmarkets.com/getting-started/create-an-account.md) instead of this option. |

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

{% hint style="info" %}
Tradeview MT4 has a demo server, **Tradeview-Demo**, and live servers. Use the exact server name shown in your Cabinet. The server list in the terminal can show more than one Tradeview server.
{% 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 %}

### Select the server

Select **New demo account**, choose the Tradeview demo server from the list, and select **Next**. If the server is not listed, type its name in the search field and select **Scan**.
{% endstep %}

{% step %}

### Enter your details

Enter your **Name**, **E-Mail**, and **Phone**. Choose the **Account type**, the **Deposit** (virtual balance), and the **Leverage**.
{% endstep %}

{% step %} <img src="https://1464240515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsUxIYPiScWr2xuS89YX3%2Fuploads%2Fgit-blob-4b9a19fd3b9e154ca98bbc004453292163038e0e%2Fopen-account-details.png?alt=media" alt="The personal details for a demo account: name, email, phone, account type, deposit and leverage." data-size="original">
{% endstep %}

{% step %}

### Accept the terms

If you agree with the account-opening terms and the data protection policy, select the checkbox and select **Next**.
{% endstep %}

{% step %}

### Save your credentials

The terminal shows the new **Login**, the **Password** (main), and the **Investor** (read-only) password. Record them in a safe place. Select **Finish**. The terminal logs in automatically.
{% endstep %}
{% endstepper %}

## Connect to an existing account

1. Select **File → Login to Trade Account**.
2. Enter the **Login** (account number) and the **Password**.
3. Select the **Server** from the list.
4. Select **Save account information** only on a device that you control.
5. Select **Login**.

<figure><img src="https://1464240515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsUxIYPiScWr2xuS89YX3%2Fuploads%2Fgit-blob-e80fe03bfe18255198ef2e775506f7173b986f7d%2Flogin-window.png?alt=media" alt="The Login to Trade Account window on top of the terminal" width="768"><figcaption><p>The Login to Trade Account window on top of the terminal.</p></figcaption></figure>

A successful login shows the connection speed and server status in the bottom-right corner of the terminal, and live quotes appear in **Market Watch**. If the corner shows **No connection**, **Invalid account**, or **Common error**, check the login, password, and server against your Cabinet account card.

## Bind the one-time password (OTP) for mobile

MetaTrader 4 can ask for a one-time password from the mobile app in addition to your main password.

1. Open the MetaTrader 4 mobile app on iPhone or Android.
2. Go to **Settings → OTP**.
3. Set a four-digit password. The app asks for it each time you open OTP.
4. Select **Bind to account**.
5. Enter the **Server**, the **Account** number, and the **Master password**.
6. Keep **Bind** enabled. Disable it only when you want to unbind the account.

## 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 → Login to an existing account**.
3. Search for the Tradeview server, then enter your login and password.
4. For WebTrader, open it from the Cabinet **Platforms** page and enter the same login, password, and server.

{% hint style="warning" %}
Never share your main trading password. Give the **investor password** when someone needs to view your account without trading. Never enter your MT4 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 %}
