> 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/trading.md).

# How to Trade in MetaTrader 4

Place market and pending orders in MetaTrader 4, use one-click trading, set Stop Loss and Take Profit, modify or close positions and read history.

{% hint style="warning" %}
Practise on a demo account first. Orders on a live account use real money, and losses can exceed your deposit when you trade on margin. Results in a demo environment do not reflect live trading conditions.
{% endhint %}

## Open the order window

Any of these actions opens the **Order** window:

<figure><img src="https://1464240515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsUxIYPiScWr2xuS89YX3%2Fuploads%2Fgit-blob-3bb7e672a15f76366e9f249ab7387f42185225a7%2Fnew-order.png?alt=media" alt="The order window opened from the Market Watch context menu" width="768"><figcaption><p>The order window opened from the Market Watch context menu.</p></figcaption></figure>

* Right-click a symbol in **Market Watch** and select **New Order**.
* Select **New Order** on the Standard toolbar, or **Tools → New Order**.
* Press **F9**.
* Right-click a chart and select **Trading → New Order**.

## Place a market order

{% stepper %}
{% step %}

### Choose the symbol and volume

Check the **Symbol**. Enter the **Volume** in lots. The minimum volume depends on your account group: 0.01 lot on XLev, 0.10 lot on ILC and EDGE. Check the minimum and maximum volume in the symbol **Specification**.
{% endstep %}

{% step %}

### Set protection levels (optional)

Enter a **Stop Loss** price and a **Take Profit** price. For a buy, the Stop Loss is below the current price and the Take Profit is above it. For a sell, the reverse applies. Leave a field at zero to set it later.
{% endstep %}

{% step %}

### Keep the type as a market order

In **Type**, keep **Instant Execution** or **Market Execution**. The label depends on your account group.
{% endstep %}

{% step %}

### Send the order

Select **Sell** or **Buy**. On Market Execution accounts the buttons are labelled **Sell by Market** and **Buy by Market**. The confirmation shows the order number. The position then appears in the **Trade** tab of the Terminal window.
{% endstep %}
{% endstepper %}

## Trade with one click from the chart

1. Right-click the chart and select **One Click Trading**, or press **Alt+T**.
2. Enter the volume in the panel that appears in the top-left corner of the chart.
3. Select **SELL** or **BUY**. The order is sent without a confirmation window.
4. Press **Alt+T** again to hide the panel.

## Place a pending order

A pending order opens a position only when the market reaches the price you set.

<figure><img src="https://1464240515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsUxIYPiScWr2xuS89YX3%2Fuploads%2Fgit-blob-9d35094284967f45a32798fe36c6d82245c10494%2Fpending-orders.png?alt=media" alt="The terminal with the Trading menu of a chart and the order window for a pending order" width="768"><figcaption><p>The terminal with the Trading menu of a chart and the order window for a pending order.</p></figcaption></figure>

| Type           | Placed                  | Use it when you expect                                           |
| -------------- | ----------------------- | ---------------------------------------------------------------- |
| **Buy Limit**  | Below the current price | The price to fall to your level and then rise.                   |
| **Buy Stop**   | Above the current price | The price to break upward through your level and keep rising.    |
| **Sell Limit** | Above the current price | The price to rise to your level and then fall.                   |
| **Sell Stop**  | Below the current price | The price to break downward through your level and keep falling. |

1. Open the order window and set **Type** to **Pending Order**.
2. Select the order type from the list.
3. Enter the trigger price in **at price**.
4. Enter **Stop Loss** and **Take Profit** if you want them.
5. Set an **Expiry** date and time if the order should cancel itself.
6. Select **Place**.

## Modify or delete an order

1. In the **Trade** tab, right-click the position or pending order.
2. Select **Modify or Delete Order**.
3. Change the Stop Loss, Take Profit, or pending price and select **Modify**. To cancel a pending order, select **Delete**.
4. On the chart, you can also drag the Stop Loss, Take Profit, or pending-order line to a new price.

## Close a position

1. In the **Trade** tab, right-click the open position, or double-click it.
2. Select **Close Order**.
3. In the order window, check the volume. To close part of the position, reduce the volume.
4. Select the yellow **Close** button.

## Use a trailing stop

1. Right-click the open position in the **Trade** tab.
2. Select **Trailing Stop** and choose a distance in points, or select **Custom** to enter your own distance.
3. The terminal moves the Stop Loss behind the price as the position gains.

{% hint style="warning" %}
A trailing stop in MT4 runs on your terminal, not on the server. If you close the terminal or lose the connection, the trailing stop stops moving. The last Stop Loss that was set remains active on the server. Tradeview services are not offered in the United States or to US Persons.
{% endhint %}

## Read your account and history

* The bottom of the **Trade** tab shows **Balance**, **Equity**, **Margin**, **Free Margin**, and **Margin Level**.
* Open the **Account History** tab and right-click to choose a period: **Last 3 Months**, **All History**, or **Custom Period**.
* Right-click again and select **Save as Report** or **Save as Detailed Report** to export an HTML statement.
* Commission and swap for each trade are shown as columns in the **Trade** and **Account History** tabs.

## Set a price alert

1. Open the **Alerts** tab in the Terminal window.
2. Right-click and select **Create**.
3. Choose the symbol, the condition (for example **Bid >**), and the value.
4. Choose the action, such as a sound or an email, and select **OK**.
