---
id: "P:cAlgo.API.IndicatorLineOutput.StickToBottom"
kind: "property"
type: "T:cAlgo.API.IndicatorLineOutput"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/Indicators/IndicatorLineOutput/StickToBottom/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# IndicatorLineOutput.StickToBottom

Member of [IndicatorLineOutput](https://help.ctrader.com/ctrader-algo/references/Chart/Indicators/IndicatorLineOutput/index.md).

## StickToBottom

Gets or sets whether line should stick to bottom of it's panel or not similar to Tick Volume (Default: false).

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
bool StickToBottom {get; set;}
```

Python:

```python
indicatorLineOutput.StickToBottom: bool
```

### Returns

`bool` — 

Available since cAlgo.API 5.4.

### Examples

C#:

```csharp
foreach (var indicator in ChartIndicators)
{
    foreach (var lineOutput in indicator.LineOutputs)
    {
        if (lineOutput.PlotType == PlotType.Histogram)
            lineOutput.StickToBottom = true;
    }
}
```

Python:

```python
for indicator in api.ChartIndicators:
    for lineOutput in indicator.LineOutputs:
        if lineOutput.PlotType == PlotType.Histogram:
            lineOutput.StickToBottom = True
            api.Print(f"{lineOutput.Name} sticks to bottom: {lineOutput.StickToBottom}")
```

