# Trade History on the Chart

## Trade History on the Chart

Beyond the History list in the Trade Panel, the system also draws your complete closed-trade history **directly onto the chart** as visual markers on each candle. This lets you instantly see where you entered and exited relative to price structure — without scrolling through a table.

***

### How to Enable

The history layer is part of the **Trades & Orders** indicator. To turn it on:

1. Open the indicator panel.
2. Enable **Trades & Orders**.
3. In the indicator settings you can also control the **Open orders** layer (live position markers) and the **Live orders** layer (SL/TP horizontal lines) independently.

Closed-trade history appears automatically once the indicator is on and data is available.

***

### What Gets Drawn on the Chart

#### 1. Entry Marker — where you got in

At the candle corresponding to your entry time, the system draws a **filled circle with a soft outer glow**:

* **Green** — Long entry
* **Red** — Short entry

These markers are slightly dimmer than live-position markers, so you can easily distinguish history from current trades.

***

#### 2. Close Marker — where you got out

At the candle where the position closed, a **small circle** is drawn:

* **Bright green** — closed in profit
* **Bright red** — closed at a loss
* **Grey** — closed flat or result unknown

***

#### 3. TP Hit Marker — each take-profit level that filled

For every TP that was triggered during the life of the trade, a **small green dot** appears on the candle where that TP filled.

If a trade had multiple TPs (TP1, TP2, TP3…), each hit has its own separate dot.

***

#### 4. SL Hit Marker — stop loss triggered

When the stop loss was hit, a **small red dot** appears on the candle where it triggered.

***

### Reading the Chart at a Glance

Scroll the chart backward through time:

* Green dot on a candle → Long entry there, or a take-profit that hit
* Red dot on a candle → Short entry there, or a stop-loss that hit
* Track entry + close pairs to see how far each trade moved before closing

***

### Data Sources

History shown on the chart comes from **two sources**:

* **Manual trades** — positions you placed by hand
* **Autotrade runs** — positions opened automatically by signal-based bots

Both render with the same marker style. There is no color difference between manual and auto trades — the distinguishing factor is purely the candle location and timing.

***

### Limitations and Notes

* Only history for the **symbol currently on the chart** is shown. Switch to the BTC chart and you will only see BTC trade history.
* Markers only appear for candles **within or near the visible chart range**. Scroll back in time to see older trades.
* Chart history is **read-only** — no buttons, no interactions. All actions (reviewing details, editing) are done in the History tab of the Trade Panel.
* If a historical trade is missing a timestamp or price, the system tries to estimate the closest candle. If it cannot, the trade is skipped on the chart but still appears in the History list.


---

# 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/trade-history-on-the-chart.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.
