> For the complete documentation index, see [llms.txt](https://guide.moontrader.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.moontrader.com/en-moontrader-docs/interface-basics/chart-tab/profiling.md). Agents can also search and read this documentation through its [MCP server](https://guide.moontrader.com/~gitbook/mcp).

# Profiling

Profiling shows how the trading algorithm works on the chart. It is a debugging and analysis tool for algorithmic trading.

To open profiling, click the «Profiling» button on the chart toolbar, to the left of the chart mode selector. The profiling panel opens on the left side of the chart.

<figure><img src="https://2194691319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPMuOulAKIicy77MPPDXF%2Fuploads%2FakfaXlm2gy5jivZLd00Y%2FProfiling%20Info%20-%20ENG.png?alt=media&amp;token=1c2c4fa8-d59e-42a5-93ed-483f99bb796e" alt=""><figcaption></figcaption></figure>

**What the panel shows:**

1. **Algorithm**: a dropdown with the algorithms running on this pair. The panel shows data for the selected algorithm. The eye button next to the dropdown shows the algorithm's helper lines on the chart, such as the buffer bounds. Which lines are shown depends on the algorithm type
2. **Parameters**: algorithm parameters (such as «Distance» and «Buffer») with their value and the prices calculated from it
3. **Filters**: algorithm filters (such as «Mark price» and «Price step») with the set range and the current value
4. **Info**: algorithm events with timestamps, such as order status changes

To close the panel, click the cross in its top right corner.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guide.moontrader.com/en-moontrader-docs/interface-basics/chart-tab/profiling.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
