# Displaying SL / TP

## Displaying SL / TP Lines on the Chart

SL and TP lines do not appear on the chart automatically — they must be enabled through either the **Trades & Orders** indicator or **Chart Settings**. Both surfaces share the exact same switches, so toggling one takes effect immediately in the other.

***

### Method 1 — Via the Trades & Orders Indicator

#### Step 1: Enable the indicator

Open the indicator panel (the **Indicators** button or icon on the chart toolbar), then find and enable **Trades & Orders**.

#### Step 2: Open the indicator settings

Click the gear icon (⚙) or click the **Trades & Orders** row in the active indicator list. A small settings panel appears with four toggles:

| Toggle            | Sub-label             | What it shows                                                                       |
| ----------------- | --------------------- | ----------------------------------------------------------------------------------- |
| **Open orders**   | B / S markers         | Colored circles on candles at entry, TP-hit, and SL-hit bars                        |
| **Live orders**   | Entry / SL / TP lines | **Horizontal lines** for Entry, SL, and all TP levels with price labels — draggable |
| **Trade history** | Closed trades         | Past closed trades drawn as markers on candles                                      |
| **PnL amount**    | Show $ value          | On: Entry label shows both USDT PnL and ROE%; Off: ROE% only                        |

**To see SL and TP lines on the chart → turn on&#x20;*****Live orders*****.**

**To see entry/exit dots on the candles → turn on&#x20;*****Open orders*****.**

***

### Method 2 — Via Chart Settings

#### Step 1: Open Chart Settings

Click the ⚙ gear icon on the chart toolbar, or right-click on the chart background → **Chart Settings**.

#### Step 2: Select the Positions tab

In the Chart Settings dialog, click the **Positions** tab (line chart icon).

#### Step 3: Toggle the layers

| Toggle          | What it controls                                   |
| --------------- | -------------------------------------------------- |
| **Positions**   | Entry / TP-hit / SL-hit dot markers on candles     |
| **Open Orders** | Entry / SL / TP horizontal lines with price labels |

Below the toggles, a live **Preview** pane shows a miniature chart illustrating exactly what each layer looks like when enabled.

> The Positions tab in Chart Settings and the Trades & Orders indicator settings share the same underlying state. A change in one is reflected immediately in the other.

***

### The Two Display Layers — At a Glance

| Layer                | Enabled by                            | Shows                                                                                |
| -------------------- | ------------------------------------- | ------------------------------------------------------------------------------------ |
| **Candle markers**   | *Open orders* or *Positions* toggle   | Green/red dot at entry candle; TP-hit and SL-hit dots                                |
| **Horizontal lines** | *Live orders* or *Open Orders* toggle | Entry line (with PnL label), SL line (red), TP1 / TP2… lines (green) — all draggable |

You can enable both layers, or just one — whichever suits your chart layout.

***

### Missing SL/TP Warning

When you have an open position with **neither SL nor any TP set**, an amber warning card appears at the top of the Trades & Orders settings panel:

```
⚠  Position missing SL / TP
   [L] BTC  20x  MANUAL           [✨ Generate]
```

Click **Generate** — the system picks an SL from the nearest swing high/low and creates 3 TP levels distributed across the current timeframe, then applies them to that position immediately.

If multiple positions are missing SL/TP, each has its own Generate button.

***

### Quick Reference

**To see SL/TP lines on the chart:** → Enable **Trades & Orders** indicator → turn on **Live orders**

**To see entry/exit markers on candles:** → Enable **Trades & Orders** indicator → turn on **Open orders**

**To do both via Chart Settings:** → ⚙ Chart Settings → **Positions** tab → enable **Positions** and **Open Orders**

**Position missing SL/TP:** → **Trades & Orders** settings → click **Generate** on the amber warning card


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mrd-indicators.com/terminal-trade-eng/displaying-sl-tp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
