# Chart Position Lines

## Chart Position Lines

When you have an open position, horizontal lines appear directly on the chart — one for each key price level. This is the most visual way to monitor and manage your trade without switching to any side panel.

***

### Types of Lines

#### Entry Line

A horizontal line at your average entry price.

**Label shows:**

* **PnL** — current profit/loss in USDT
* **ROE%** — profit/loss as a percentage of your margin
* Label color updates in real time: green when in profit, red when in loss

**× button on the label:** Click to close the position immediately at market price.

***

#### Stop Loss Line

A red line below your entry (for Long) or above it (for Short).

The label shows the SL price and a **×** button to remove the SL.

***

#### Take Profit Lines

A green line for each take-profit level. If you set multiple TPs, each gets its own line.

Label shows: **TP1**, **TP2**… with price and the percentage of the position that closes at that level.

When a TP is hit, the label fades and shows a filled status — it cannot be edited or dragged after that.

***

#### Pending Limit Line

When you place a **Limit order** that has not filled yet, a yellow line appears on the chart:

```
[≡] Buy Limit | 94,250.00 | 0.005 BTC | 20x  [×]
```

* **Buy / Sell** — direction
* **Limit** — order type
* Price, quantity, leverage
* **\[×]** — cancel the pending order

This line can be **dragged** to change the limit price (see drag section below).

***

### Dragging Lines to Adjust Prices

**SL lines**, **TP lines**, and **pending Limit lines** can all be dragged directly on the chart.

**How to tell a line is draggable:** The cursor changes to a vertical resize arrow ↕ when you hover over the label.

**How to drag:**

1. Click and hold (or touch on mobile) on the label.
2. Drag up or down to your new target price.
3. While dragging, a price tag appears on the **right price axis** showing the exact price the line will snap to.
4. Release — the updated order is sent automatically.

> A drag must move at least 3 pixels to register as intentional (prevents accidental drags from a normal click).

**While the update is processing:** The line turns to a dashed style and the label dims briefly — this means the system is waiting for Binance to confirm the new price. No action needed.

***

### Label States

| State      | Visual                                                           |
| ---------- | ---------------------------------------------------------------- |
| Normal     | Solid line, full opacity, × button active                        |
| Processing | Dashed line, dimmed, spinner on label — waiting for confirmation |
| Filled     | 50% opacity, cannot drag, no × button                            |

***

### Candle Markers (Entry / TP / SL dots)

In addition to the horizontal lines, the system paints small **markers directly onto the candles**:

* **Buy/Sell badge** on the entry candle — a colored circle: green for Long, red for Short
* **TP hit dot** on the candle where take profit filled — small green circle
* **SL hit dot** on the candle where stop loss triggered — small red circle

These markers let you see at a glance where each trade entered and exited without opening any list.

***

### PnL Shading Zone

While a position is open, a tinted band is drawn between the entry price and the current price:

* **Light green** — position is in profit
* **Light red** — position is in a loss

The band updates in real time with price.

***

### Notes

* The **Entry line is not draggable** — only SL, TP, and pending Limit lines can be moved.
* Clicking **×** on the Entry line closes the **full position** at market price immediately — confirm your intent before clicking.
* SL and TP lines only appear when the **Live orders** layer is enabled. Entry/exit dot markers on candles only appear when the **Open orders** layer is enabled.

→ Full instructions on enabling these layers: Displaying SL / TP on the Chart


---

# 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/chart-position-lines.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.
