# Constant Lines

#### Description <a href="#description_111" id="description_111"></a>

The Constant Lines tool can draw a maximum of four freely configurable horizontal lines within a chart. In general, it is used to label certain price levels in order to keep an eye on them.

#### Usage <a href="#usage_106" id="usage_106"></a>

```csharp
ConstantLines(double line1Value, double line2Value, double line3Value, double line4Value)
ConstantLines(double line1Value, double line2Value, double line3Value, double line4Value)[barsAgo]
ConstantLines(double line1Value, double line2Value, double line3Value, double line4Value).Line1[barsAgo]
ConstantLines(double line1Value, double line2Value, double line3Value, double line4Value).Line2[barsAgo]
ConstantLines(double line1Value, double line2Value, double line3Value, double line4Value).Line3[barsAgo]
ConstantLines(double line1Value, double line2Value, double line3Value, double line4Value).Line4[barsAgo]
```

#### Return value <a href="#return-value_104" id="return-value_104"></a>

**double**

When using this method with an index (e.g. **ConstantLines**(1,2,3,4)\[**int** barsAgo] ), the value of the indicator will be issued for the referenced bar.

#### Visualization <a href="#visualization_102" id="visualization_102"></a>

![Constant Lines](https://agenatrader.github.io/AgenaIndicator-documentation/media/ConstantLines.jpg)


---

# 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://indicators.agenatrader.com/standard-indicators/constant-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.
