> For the complete documentation index, see [llms.txt](https://help.quantower.com/quantower/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.quantower.com/quantower/analytics-panels/chart/chart-types/line-break.md).

# Line break

Set up Line Break charts in Quantower to filter minor price fluctuations and confirm trend reversals based on closing prices

### General info

**Line Break** is quite similar to other time-independent charts like Kagi, P & F, Range Bars. Line break chart prints the series of bars which represent increasing and falling prices. The key parameter that participates in the chart plotting is the number of the last bars for building the current bar.

![General view of Line Break chart in Quantower](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-LKRcTSeHGP8RR0_r8b4%2F-LKRck5Ot2uJLCZk0FMa%2FLine%20break%20chart%20general%20view.png?alt=media\&token=735a9672-5b28-4ac8-a5a0-e6c907f8a922)

It is important to note that the bars on this chart are usually called "lines". Line Break based on closing prices so it takes the current price and compares it with the closing prices of the previous bars (lines). The number of the previous bars that participate in the calculation specified in the chart settings.

### Line Break calculation

The most common number of Line Break setting is 3. It means that the closing price of the current line is compared to the closing price of the third line ago.&#x20;

![Chart settings for Line Break](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-LKRcTSeHGP8RR0_r8b4%2F-LKRtNAd51-m7Q6GlL14%2FLine%20break%20settings.png?alt=media\&token=23112484-4ae3-4b3a-98cd-6692afcf87e6)

Each new closing price has three possible outcomes:

* a new line with the same color  — build when the price goes in the same direction.
* a new line with the opposite color — build when the price change is enough to warrant a reversal.&#x20;
* no new lines are added when the price does not extend the trend or the change is not enough to warrant a reversal.

![An example of how to build a Line Break chart](https://4186075531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-LKRcTSeHGP8RR0_r8b4%2F-LKRvKWgNaAyYPW7JTzZ%2FLine%20break%20example.png?alt=media\&token=18135d02-f974-41e0-87f3-3d47ebdb9bef)

In the example above shows areas where the line color was changed. The yellow line shows the level of the third bar, when it breaks, the line color changes.


---

# 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://help.quantower.com/quantower/analytics-panels/chart/chart-types/line-break.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.
