> ## Documentation Index
> Fetch the complete documentation index at: https://takeprofit.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Package indie.plot

> The indie.plot package: the decorators, types, and enums that control how plotted data appears on a chart.

Package for plotting series-like data.

***

## Decorators

### `@background()`

*decorator*

**1. Overloads**

@background

(title, color, outline\_color, outline\_style, outline\_width) -> None

Declares attributes of a background plot of an indicator. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point.

**parameters info**

title

indie.Optional\[str]

default:
None

Human readable title which is visible in the indicator's Settings panel.

color

indie.Optional\[indie.Color]

default:
None

Color of the plot.

outline\_color

indie.Optional\[indie.Color]

default:
None

Color of the outline.

outline\_style

indie.Optional\[indie.line\_style]

default:
None

Style of the outline. It is represented as enum value of type `line_style`.

outline\_width

indie.Optional\[int]

default:
None

Width of the outline.

```py Example theme={null}
@plot.background()
def Main(self):
    return plot.Background(color=color.YELLOW)
```

> [!NOTE]
>
> See also: [`Background`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_Background)

***

### `@bar_color()`

*decorator*

**1. Overloads**

@bar\_color

(title, color, display\_options) -> None

Declares attributes of a bar color plot of an indicator. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point.

**parameters info**

title

indie.Optional\[str]

default:
None

Human readable title which is visible in the indicator's Settings panel.

color

indie.Optional\[indie.Color]

default:
None

Color of the plot.

display\_options

indie.plot.BarColorDisplayOptions

default:
indie.plot.BarColorDisplayOptions(pane=True)

Determines the ways to display plot data.

```py Example theme={null}
@plot.bar_color()
def Main(self):
    return plot.BarColor(color=color.YELLOW)
```

> [!NOTE]
>
> See also: [`BarColor`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_BarColor)

***

### `@candles()`

*decorator*

**1. Overloads**

@candles

(id, title, up\_color, down\_color, wick\_visible, border\_visible, display\_options) -> None

Declares an independent candles plot of an indicator: every bar is drawn as a candle with a body between `open` and `close` and a thin wick between `low` and `high`. It does not replace the chart candles, and an indicator can declare multiple candles plots. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point, which has to be a `plot.Candles` object.

**parameters info**

id

indie.Optional\[str]

default:
None

A unique identifier of plot, reserved for internal use.

title

indie.Optional\[str]

default:
None

Human readable title which is visible in the indicator's Settings panel.

up\_color

indie.Optional\[indie.Color]

default:
None

Default body color of a candle whose close is not below its open; the chart candle color when not set. The wick and border inherit the resolved body color unless their per-bar colors are set.

down\_color

indie.Optional\[indie.Color]

default:
None

Default body color of a candle whose close is below its open; the chart candle color when not set. The wick and border inherit the resolved body color unless their per-bar colors are set.

wick\_visible

bool

default:
True

Whether to draw the thin candle wick from low to high.

border\_visible

bool

default:
True

Whether to draw candle borders.

display\_options

indie.plot.CandlesDisplayOptions

default:
indie.plot.CandlesDisplayOptions(pane=True, status\_line=True, price\_label=True)

Determines the ways to display plot data.

```py Example theme={null}
@plot.candles(up_color=color.GREEN, down_color=color.RED)
def Main(self):
    return plot.Candles(self.open[0], self.high[0], self.low[0], self.close[0])
```

> [!NOTE]
>
> See also: [`Candles`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_Candles)

***

### `@columns()`

*decorator*

**1. Overloads**

@columns

(id, title, color, base\_value, rel\_width, display\_options) -> None

Declares attributes of a columns plot of an indicator. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point.

**parameters info**

id

indie.Optional\[str]

default:
None

A unique identifier of plot, reserved for internal use.

title

indie.Optional\[str]

default:
None

Human readable title which is visible in the indicator's Settings panel.

color

indie.Optional\[indie.Color]

default:
None

Color of the plot.

base\_value

float

default:
0.0

Base level from which to start plot.

rel\_width

float

default:
0.8

Relative width.

display\_options

indie.plot.ColumnsDisplayOptions

default:
indie.plot.ColumnsDisplayOptions(pane=True, status\_line=True, price\_label=True)

Determines the ways to display plot data.

```py Example theme={null}
@plot.line()
@plot.columns(line_width=2)
@plot.columns(color=color.YELLOW)
# @plot.line() - for the fourth plot can be omitted
def Main(self):
    return self.open[0], self.high[0], self.low[0], self.close[0]
```

> [!NOTE]
>
> See also: [`Columns`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_Columns)

***

### `@data()`

*decorator*

**1. Overloads**

@data

(id, title) -> None

Declares a data-only output of an indicator: a number that users can set an alert on or read in message placeholders, such as the price of the last swing high, without drawing it on the chart. `Main` returns a bare number for it (`float` or `int`, `NaN` when there is no value), not a `plot.Line` or other plot object. A data output has no style settings. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point, like `@plot.line`.

**parameters info**

id

str

required

A unique identifier of the data output. Alerts set on the output refer to it, so keep it stable between versions of the indicator.

title

indie.Optional\[str]

default:
None

Human readable name of the data output shown in the alert dialog. If omitted, `id` is used.

```py Example theme={null}
@plot.line()
@plot.data('swing_high', title='Last swing high')
def Main(self):
    swing_high = MutSeriesF.new(init=math.nan)
    if self.high[1] > self.high[0] and self.high[1] > self.high[2]:
        swing_high[0] = self.high[1]
    return self.close[0], swing_high[0]
```

> [!NOTE]
>
> A data output cannot be used in `@plot.fill`.

> [!NOTE]
>
> See also: [`@line()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_line)[`@event()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_event)

***

### `@data_grid()`

*decorator*

**1. Overloads**

@data\_grid

(id, \*, rows, title, cell\_style, cell\_coloring, show\_values, normalization, threshold, percentile) -> None

Displays indicator values in a table with one row per metric and one column per chart bar. Declare rows with plot.GridRow and return a plot.GridValue on every bar. Available only in a separate indicator pane; cannot be combined with other plots, levels or bands, or used in a strategy.

**parameters info**

id

str

required

Unique output ID; it cannot contain `$` or `.`.

rows

list\[indie.plot.GridRow]

required

From 1 to 30 rows, in display order.

title

indie.Optional\[str]

default:
None

Output title shown in chart settings; None uses the ID.

cell\_style

indie.plot.grid\_cell\_style

default:
indie.plot.grid\_cell\_style.FILL

Default style of the cells; a row can override it.

cell\_coloring

indie.plot.grid\_cell\_coloring

default:
indie.plot.grid\_cell\_coloring.STEPS

Default coloring of the cells; a row can override it.

show\_values

bool

default:
True

Whether values are written into `FILL` cells; `DOTS` and `COLUMNS` cells ignore it.

normalization

indie.plot.grid\_normalization

default:
indie.plot.grid\_normalization.ALL

Which bars are used to scale row colors.

threshold

float

default:
0.0

Hides weak values: a cell below this share of its row scale, in \[0, 1], gets no fill and no number.

percentile

float

default:
0.98

Percentile in \[0.5, 1] of absolute values that scales the colors of rows without a domain.

```py Example theme={null}
# indie:lang_version = 5
from indie import MainContext, color, indicator, plot


@indicator('Bar metrics')
@plot.data_grid('metrics', rows=[
    plot.GridRow('volume', 'Vol', 'Volume', colors=[color.BLUE],
                 format=plot.GridFormat(plot.grid_format.VOLUME)),
    plot.GridRow('range', 'Range', 'Price range', colors=[color.ORANGE],
                 format=plot.GridFormat(plot.grid_format.PRICE)),
])
class Main(MainContext):
    def calc(self):
        return plot.GridValue([self.volume[0], self.high[0] - self.low[0]])
```

> [!NOTE]
>
> See also: [`GridRow`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_GridRow)[`GridValue`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_GridValue)

***

### `@event()`

*decorator*

**1. Overloads**

@event

(id, title, options) -> None

Declares an event output of an indicator: a signal that users can set an alert on, such as a break of structure or a volume spike. With `options`, the event has several named variants (for example a bullish and a bearish break), and on each bar `Main` returns the name of the variant that happened, or `None` if nothing happened. Without `options`, it is a single event and `Main` returns `True` on bars where the event happens and `False` otherwise. In the alert dialog the user picks the event by its `title` and then one of its options, instead of comparing the output with a value. An event output is not drawn on the chart and has no style settings. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point, like `@plot.line`.

**parameters info**

id

str

required

A unique identifier of the event output. Alerts set on the event refer to it, so keep it stable between versions of the indicator.

title

indie.Optional\[str]

default:
None

Human readable name of the event shown in the alert dialog. If omitted, `id` is used.

options

indie.Optional\[list\[str]]

default:
None

Names of the event variants, shown in the alert dialog, e.g. `['Bullish BOS', 'Bearish BOS']`. A list literal of 2 to 32 distinct string literals, each non-empty, printable, at most 64 characters long and without leading or trailing spaces. `Main` returns one of them, or `None` on bars without the event. Keep the order stable between versions of the indicator: alerts refer to an option by its position. Omit `options` for a single event, whose value is a `bool`.

```py Example theme={null}
@plot.line()
@plot.event('bos', title='Break of structure', options=['Bullish BOS', 'Bearish BOS'])
@plot.event('volume_spike', title='Volume spike')  # a single event
def Main(self):
    bos: Optional[str] = None
    if self.close[0] > self.high[1]:
        bos = 'Bullish BOS'
    elif self.close[0] < self.low[1]:
        bos = 'Bearish BOS'
    spike = self.volume[0] > 2 * self.volume[1]
    return self.close[0], bos, spike
```

> [!NOTE]
>
> A returned string literal must be one of the `options`, otherwise the indicator does not compile; any other string that matches no option stops the indicator with an error naming the output and the value. The output value that other tools see, for example the data window, is `0` on bars without the event, otherwise the number of the option in `options` starting from `1`, or `1` for a single event.

> [!NOTE]
>
> See also: [`@line()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_line)

***

### `@fill()`

*decorator*

**1. Overloads**

@fill

(id1, id2, id, title, color) -> None

Declares attributes of a fill plot of an indicator. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point.

**parameters info**

id1

str

required

Identifier of the first plot to which the fill is applied.

id2

str

required

Identifier of the second plot to which the fill is applied.

id

indie.Optional\[str]

default:
None

A unique identifier of plot, reserved for internal use.

title

indie.Optional\[str]

default:
None

Human readable title which is visible in the indicator's Settings panel.

color

indie.Optional\[indie.Color]

default:
None

Color of the plot.

```py Example theme={null}
@plot.line('plot1')
@plot.line('plot2')
@plot.fill('plot1', 'plot2')
def Main(self):
    return self.open[0], self.high[0], plot.Fill()
```

> [!NOTE]
>
> See also: [`Fill`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_Fill)

***

### `@histogram()`

*decorator*

**1. Overloads**

@histogram

(id, title, color, line\_width, base\_value, display\_options) -> None

Declares attributes of a histogram plot of an indicator. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point.

**parameters info**

id

indie.Optional\[str]

default:
None

A unique identifier of plot, reserved for internal use.

title

indie.Optional\[str]

default:
None

Human readable title which is visible in the indicator's Settings panel.

color

indie.Optional\[indie.Color]

default:
None

Color of the plot.

line\_width

int

default:
1

Width of the line.

base\_value

float

default:
0.0

Base level from which to start plot.

display\_options

indie.plot.HistogramDisplayOptions

default:
indie.plot.HistogramDisplayOptions(pane=True, status\_line=True, price\_label=True)

Determines the ways to display plot data.

```py Example theme={null}
@plot.line()
@plot.histogram(line_width=2)
@plot.histogram(color=color.YELLOW)
# @plot.line() - for the fourth plot can be omitted
def Main(self):
    return self.open[0], self.high[0], self.low[0], self.close[0]
```

> [!NOTE]
>
> See also: [`Histogram`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_Histogram)

***

### `@line()`

*decorator*

**1. Overloads**

@line

(id, title, color, line\_style, line\_width, continuous, display\_options) -> None

Declares attributes of a line plot of an indicator. Can be applied only to the `Main` entry point of the indicator. It is optional, so may be omitted in some simple use cases and plot will be rendered using defaults. When applied, it must match with the result of the `Main` indicator entry point.

**parameters info**

id

indie.Optional\[str]

default:
None

A unique identifier of plot which is used in cases when a `@plot.fill()` should be applied between some of the two plots of an indicator.

title

indie.Optional\[str]

default:
None

Human readable title which is visible in the indicator's Settings panel.

color

indie.Optional\[indie.Color]

default:
None

Color of the plot on a chart. This color can be overwritten if the plot is a multicolored one. Example of an indicator with a multicolored plot is *Awesome Oscillator (AO)*.

line\_style

indie.line\_style

default:
indie.line\_style.SOLID

Style of the line. It is represented as enum value of type `line_style`.

line\_width

int

default:
1

Width of the line.

continuous

bool

default:
False

Whether the plot should be continuous when the indicator has `NaN` values.

display\_options

indie.plot.LineDisplayOptions

default:
indie.plot.LineDisplayOptions(pane=True, status\_line=True, price\_label=True)

Determines the ways to display plot data.

```py Example theme={null}
@plot.line()
@plot.line(line_width=2)
@plot.line(color=color.YELLOW)
# @plot.line() - for the fourth plot can be omitted
def Main(self):
    return self.open[0], self.high[0], self.low[0], self.close[0]
```

> [!NOTE]
>
> See also: [`Line`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_Line)

***

### `@marker()`

*decorator*

**1. Overloads**

@marker

(title, color, text, style, position, size, display\_options) -> None

Declares attributes of a marker plot of an indicator. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point.

**parameters info**

title

indie.Optional\[str]

default:
None

Human readable title which is visible in the indicator's Settings panel.

color

indie.Optional\[indie.Color]

default:
None

Color of the plot.

text

indie.Optional\[str]

default:
None

Default value for the text label of markers.

style

indie.plot.marker\_style

default:
indie.plot.marker\_style.CIRCLE

Determines how the plot data is rendered. It is represented as enum value of type `marker_style`.

position

indie.plot.marker\_position

default:
indie.plot.marker\_position.ABOVE

Determines how the data and text are rendered.

size

int

default:
4

Size of markers.

display\_options

indie.plot.MarkerDisplayOptions

default:
indie.plot.MarkerDisplayOptions(pane=True, status\_line=True, price\_label=True)

Determines the ways to display plot data.

```py Example theme={null}
@plot.line()
@plot.marker(line_width=2)
@plot.marker(color=color.YELLOW)
# @plot.line() - for the fourth plot can be omitted
def Main(self):
    return self.open[0], self.high[0], self.low[0], self.close[0]
```

> [!NOTE]
>
> See also: [`Marker`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_Marker)

***

### `@price_cluster()`

*decorator*

**1. Overloads**

@price\_cluster

(id, \*, title, layers, tooltip\_fields, shape, fill\_mode, size\_mode, color, opacity, fixed\_radius, min\_radius, max\_radius, labels\_visible, tooltips\_visible, legend\_visible, stack\_bars, level\_mode, near\_price\_fraction, value\_format) -> None

Declares a price cluster bubble/heatmap overlay output returned from `Main.calc` as `plot.PriceClusterValue`. Renders detected order-flow clusters at price levels with optional horizontal levels, labels, and structured hover tooltips.

**parameters info**

id

str

required

Unique output ID; it cannot contain `$` or `.`.

title

indie.Optional\[str]

default:
None

Output title shown in chart settings; `None` uses the ID.

layers

indie.Optional\[list\[indie.plot.ClusterLayer]]

default:
None

Up to 8 named color layers used by multi-layer fill modes.

tooltip\_fields

indie.Optional\[list\[indie.plot.ClusterTooltipField]]

default:
None

Up to 32 structured fields rendered in cluster hover tooltips.

shape

indie.plot.cluster\_shape

default:
indie.plot.cluster\_shape.CIRCLE

Default marker shape for clusters.

fill\_mode

indie.plot.cluster\_fill\_mode

default:
indie.plot.cluster\_fill\_mode.SOLID

Default fill mode for clusters.

size\_mode

indie.plot.cluster\_size\_mode

default:
indie.plot.cluster\_size\_mode.PROPORTIONAL

Default sizing mode for clusters.

color

indie.Optional\[indie.Color]

default:
None

Default solid cluster color; `None` uses blue.

opacity

float

default:
0.35

Cluster fill opacity in `[0, 1]`.

fixed\_radius

float

default:
12.0

Marker radius in pixels when `size_mode` is `FIXED`.

min\_radius

float

default:
6.0

Minimum marker radius in pixels when `size_mode` is `PROPORTIONAL`.

max\_radius

float

default:
28.0

Maximum marker radius in pixels when `size_mode` is `PROPORTIONAL`.

labels\_visible

bool

default:
True

Whether numeric labels are drawn inside clusters by default.

tooltips\_visible

bool

default:
True

Whether hover tooltips are enabled by default.

legend\_visible

bool

default:
True

Whether the cluster series appears in the chart legend by default.

stack\_bars

int

default:
0

Number of bars to stack clusters across; `0` disables stacking.

level\_mode

indie.plot.cluster\_level\_mode

default:
indie.plot.cluster\_level\_mode.NONE

Default display mode for horizontal cluster levels.

near\_price\_fraction

float

default:
0.02

Relative price distance threshold used when `level_mode` is `NEAR_PRICE`.

value\_format

indie.Optional\[indie.plot.ClusterFormat]

default:
None

Default number format for cluster values and labels.

> [!NOTE]
>
> See also: [`PriceClusterValue`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_PriceClusterValue)[`ClusterBar`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_ClusterBar)[`ClusterItem`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_ClusterItem)

***

### `@price_histogram_profile()`

*decorator*

**1. Overloads**

@price\_histogram\_profile

(id, \*, layers, title, display\_mode, align, width\_fraction, opacity, bg\_color, bg\_visible, values\_visible, totals\_visible, value\_color, value\_area, poc\_visible, poc\_color, poc\_line\_style, poc\_line\_width, value\_area\_lines\_visible, value\_area\_line\_color, value\_area\_line\_style, value\_area\_line\_width, merge\_rows\_on\_zoom, total\_color, total\_color\_outside\_value\_area, secondary\_histogram, total\_outline\_color, alpha\_by\_total) -> None

Declares a price histogram output with typed layers and shared style defaults.

**parameters info**

id

str

required

Unique output ID declared by a profile plot decorator.

layers

list\[indie.plot.ProfileLayer]

required

Histogram layers, in the order used by each row of values.

title

indie.Optional\[str]

default:
None

Output title shown in chart settings.

display\_mode

indie.drawings.price\_histogram\_display\_mode

default:
indie.drawings.price\_histogram\_display\_mode.TOTAL

`TOTAL` for total volume, `SPLIT` for separate layers.

align

int

default:
1

1 for left alignment, 2 for right alignment.

width\_fraction

float

default:
1.0

Fraction of the profile width, in (0, 1].

opacity

float

default:
1.0

Opacity in \[0, 1]; zero makes the profile transparent.

bg\_color

indie.Color

default:
indie.color.TRANSPARENT

Profile background color.

bg\_visible

bool

default:
False

Whether the profile background is visible.

values\_visible

bool

default:
False

Whether individual values are visible.

totals\_visible

bool

default:
False

Whether profile totals are visible.

value\_color

indie.Optional\[indie.Color]

default:
None

Value label color. None uses the chart theme color.

value\_area

float

default:
0.7

Value Area fraction in \[0, 1]; zero disables it.

poc\_visible

bool

default:
False

Whether the Point of Control line is visible.

poc\_color

indie.Color

default:
indie.color.rgba(167, 207, 255, 1.0)

Point of Control line color.

poc\_line\_style

indie.line\_style

default:
indie.line\_style.DASHED

Point of Control line style.

poc\_line\_width

int

default:
1

Point of Control line width in pixels, from 1 to 4.

value\_area\_lines\_visible

bool

default:
True

Whether the Value Area boundary lines are visible.

value\_area\_line\_color

indie.Color

default:
indie.color.rgba(167, 207, 255, 1.0)

Value Area boundary line color.

value\_area\_line\_style

indie.line\_style

default:
indie.line\_style.DASHED

Value Area boundary line style.

value\_area\_line\_width

int

default:
1

Value Area boundary line width in pixels, from 1 to 4.

merge\_rows\_on\_zoom

bool

default:
False

Whether adjacent price rows merge when zooming out.

total\_color

indie.Color

default:
indie.color.BLUE

Default total volume color, independent of individual layer colors.

total\_color\_outside\_value\_area

indie.Optional\[indie.Color]

default:
None

Total volume color outside Value Area; None uses total\_color.

secondary\_histogram

indie.Optional\[indie.plot.SecondaryHistogram]

default:
None

Secondary histogram of the profile, for example the delta; None draws none.

total\_outline\_color

indie.Optional\[indie.Color]

default:
None

Default outline color of total volume bars; None keeps the chart default.

alpha\_by\_total

bool

default:
False

Whether row opacity scales with the row total relative to the POC row; in `SPLIT` mode, with each segment relative to the largest one.

***

### `@price_histogram_series()`

*decorator*

**1. Overloads**

@price\_histogram\_series

(id, \*, layers, title, display\_mode, align, width\_fraction, opacity, bg\_color, bg\_visible, values\_visible, totals\_visible, value\_color, value\_area, poc\_visible, poc\_color, poc\_line\_style, poc\_line\_width, value\_area\_lines\_visible, value\_area\_line\_color, value\_area\_line\_style, value\_area\_line\_width, merge\_rows\_on\_zoom, total\_color, total\_color\_outside\_value\_area, secondary\_histogram, total\_outline\_color, alpha\_by\_total, aggregation, display\_options) -> None

Declares a per-bar price histogram series output returned from `Main.calc` as `plot.PriceHistogramSeries`. Supports optional visible-range aggregation (for example VRVP) as well as per-period profiles (for example SVP and PVP).

**parameters info**

id

str

required

Unique output ID declared by a profile plot decorator.

layers

list\[indie.plot.ProfileLayer]

required

Histogram layers, in the order used by each row of values.

title

indie.Optional\[str]

default:
None

Output title shown in chart settings.

display\_mode

indie.drawings.price\_histogram\_display\_mode

default:
indie.drawings.price\_histogram\_display\_mode.TOTAL

`TOTAL` for total volume, `SPLIT` for separate layers.

align

int

default:
1

1 for left alignment, 2 for right alignment.

width\_fraction

float

default:
1.0

Fraction of the profile width, in (0, 1].

opacity

float

default:
1.0

Opacity in \[0, 1]; zero makes the profile transparent.

bg\_color

indie.Color

default:
indie.color.TRANSPARENT

Profile background color.

bg\_visible

bool

default:
False

Whether the profile background is visible.

values\_visible

bool

default:
False

Whether individual values are visible.

totals\_visible

bool

default:
False

Whether profile totals are visible.

value\_color

indie.Optional\[indie.Color]

default:
None

Value label color. None uses the chart theme color.

value\_area

float

default:
0.7

Value Area fraction in \[0, 1]; zero disables it.

poc\_visible

bool

default:
False

Whether the Point of Control line is visible.

poc\_color

indie.Color

default:
indie.color.rgba(167, 207, 255, 1.0)

Point of Control line color.

poc\_line\_style

indie.line\_style

default:
indie.line\_style.DASHED

Point of Control line style.

poc\_line\_width

int

default:
1

Point of Control line width in pixels, from 1 to 4.

value\_area\_lines\_visible

bool

default:
True

Whether the Value Area boundary lines are visible.

value\_area\_line\_color

indie.Color

default:
indie.color.rgba(167, 207, 255, 1.0)

Value Area boundary line color.

value\_area\_line\_style

indie.line\_style

default:
indie.line\_style.DASHED

Value Area boundary line style.

value\_area\_line\_width

int

default:
1

Value Area boundary line width in pixels, from 1 to 4.

merge\_rows\_on\_zoom

bool

default:
False

Whether adjacent price rows merge when zooming out.

total\_color

indie.Color

default:
indie.color.BLUE

Default total volume color, independent of individual layer colors.

total\_color\_outside\_value\_area

indie.Optional\[indie.Color]

default:
None

Total volume color outside Value Area; None uses total\_color.

secondary\_histogram

indie.Optional\[indie.plot.SecondaryHistogram]

default:
None

Secondary histogram of the profile, for example the delta; None draws none.

total\_outline\_color

indie.Optional\[indie.Color]

default:
None

Default outline color of total volume bars; None keeps the chart default.

alpha\_by\_total

bool

default:
False

Whether row opacity scales with the row total relative to the POC row; in `SPLIT` mode, with each segment relative to the largest one.

aggregation

indie.Optional\[indie.plot.Aggregation]

default:
None

Optional chart-side aggregation (for example `plot.Aggregation` over `VisibleRange`); `None` draws per-bar profiles directly.

display\_options

indie.Optional\[indie.plot.PriceHistogramSeriesDisplayOptions]

default:
None

Determines the ways to display plot data.

> [!NOTE]
>
> See also: [`PriceHistogramSeries`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_PriceHistogramSeries)[`Aggregation`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_Aggregation)[`@price_histogram_profile()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_price_histogram_profile)

***

### `@steps()`

*decorator*

**1. Overloads**

@steps

(id, title, color, line\_width, display\_options) -> None

Declares attributes of a steps plot of an indicator. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point.

**parameters info**

id

indie.Optional\[str]

default:
None

A unique identifier of plot, reserved for internal use.

title

indie.Optional\[str]

default:
None

Human readable title which is visible in the indicator's Settings panel.

color

indie.Optional\[indie.Color]

default:
None

Color of the plot.

line\_width

int

default:
1

Width of the line.

display\_options

indie.plot.StepsDisplayOptions

default:
indie.plot.StepsDisplayOptions(pane=True, status\_line=True, price\_label=True)

Determines the ways to display plot data.

```py Example theme={null}
@plot.line()
@plot.steps(line_width=2)
@plot.steps(color=color.YELLOW)
# @plot.line() - for the fourth plot can be omitted
def Main(self):
    return self.open[0], self.high[0], self.low[0], self.close[0]
```

> [!NOTE]
>
> See also: [`Steps`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_Steps)

***

### `@tpo_profile()`

*decorator*

**1. Overloads**

@tpo\_profile

(id, \*, title, palette, stacked, letters\_visible, value\_area, initial\_balance\_blocks, initial\_balance\_visible, poc\_visible, poc\_color, poc\_line\_style, poc\_line\_width, value\_area\_lines\_visible, value\_area\_line\_color, value\_area\_line\_style, value\_area\_line\_width) -> None

Declares a TPO output with shared style defaults.

**parameters info**

id

str

required

Unique output ID declared by a profile plot decorator.

title

indie.Optional\[str]

default:
None

Output title shown in chart settings.

palette

indie.Optional\[list\[indie.Color]]

default:
None

Nonempty shared palette; None uses blue and orange.

stacked

bool

default:
True

Whether TPO occurrences are stacked by price.

letters\_visible

bool

default:
True

Whether letters are visible.

value\_area

float

default:
0.7

Value Area fraction in \[0, 1]; zero disables it.

initial\_balance\_blocks

int

default:
6

Number of first TPO blocks in Initial Balance; zero disables it.

initial\_balance\_visible

bool

default:
False

Whether Initial Balance is visible.

poc\_visible

bool

default:
False

Whether the Point of Control line is visible.

poc\_color

indie.Color

default:
indie.color.WHITE

Point of Control line color.

poc\_line\_style

indie.line\_style

default:
indie.line\_style.DASHED

Point of Control line style.

poc\_line\_width

int

default:
1

Point of Control line width in pixels, from 1 to 4.

value\_area\_lines\_visible

bool

default:
False

Whether the Value Area boundary lines are visible.

value\_area\_line\_color

indie.Color

default:
indie.color.WHITE

Value Area boundary line color.

value\_area\_line\_style

indie.line\_style

default:
indie.line\_style.DASHED

Value Area boundary line style.

value\_area\_line\_width

int

default:
1

Value Area boundary line width in pixels, from 1 to 4.

***

## Types

### `Aggregation`

*type*

Configures chart-side aggregation of a `@plot.price_histogram_series` output over a range (for example, summing per-bar histograms across the visible range).

**1. Methods**

[Navigate to method\_Aggregation\_init](#method_Aggregation_init)

**init**

(\*, range, reducer, display\_options) -> None

Class constructor (initializer for the data type).

**parameters info**

range

indie.plot.VisibleRange

required

Range over which per-bar histograms are aggregated, such as `plot.VisibleRange()`.

reducer

indie.plot.reducer

required

Reducer used to combine per-bar histograms across the range.

display\_options

indie.plot.PriceHistogramDisplayOptions

default:
indie.plot.PriceHistogramDisplayOptions(pane=True)

Display options for the aggregated price histogram.

> [!NOTE]
>
> See also: [`@price_histogram_series()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_price_histogram_series)[`VisibleRange`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_VisibleRange)[`reducer`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#enum_reducer)

***

### `Background`

*type*

Class which objects represent an element of background plot.

**1. Fields**

[Navigate to field\_Background\_color](#field_Background_color)

color

indie.Optional\[indie.Color]

Color of the plot element.

[Navigate to field\_Background\_outline\_left](#field_Background_outline_left)

outline\_left

bool

Whether to draw left outline.

[Navigate to field\_Background\_outline\_right](#field_Background_outline_right)

outline\_right

bool

Whether to draw right outline.

[Navigate to field\_Background\_offset](#field_Background_offset)

offset

int

Offset of the plot element.

**2. Methods**

[Navigate to method\_Background\_init](#method_Background_init)

**init**

(color, outline\_left, outline\_right, offset) -> None

Class constructor (initializer for the data type).

**parameters info**

color

indie.Optional\[indie.Color]

default:
None

Color of the plot element.

outline\_left

bool

default:
False

Whether to draw an outline on the left.

outline\_right

bool

default:
False

Whether to draw an outline on the right.

offset

int

default:
0

Offset of the plot element.

> [!NOTE]
>
> See also: [`@background()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_background)

***

### `BackgroundDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

**1. Methods**

[Navigate to method\_BackgroundDisplayOptions\_init](#method_BackgroundDisplayOptions_init)

**init**

(\*, pane) -> None

Class constructor (initializer for the data type).

**parameters info**

pane

bool

default:
False

Whether or not to draw (by default) the plot on the pane.

***

### `BarColor`

*type*

Class which objects represent an element of bar color plot.

**1. Fields**

[Navigate to field\_BarColor\_color](#field_BarColor_color)

color

indie.Optional\[indie.Color]

Color of the plot element.

[Navigate to field\_BarColor\_offset](#field_BarColor_offset)

offset

int

Offset of the plot element.

**2. Methods**

[Navigate to method\_BarColor\_init](#method_BarColor_init)

**init**

(color, offset) -> None

Class constructor (initializer for the data type).

**parameters info**

color

indie.Optional\[indie.Color]

default:
None

Color of the plot element.

offset

int

default:
0

Offset of the plot element.

> [!NOTE]
>
> See also: [`@bar_color()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_bar_color)

***

### `BarColorDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

**1. Methods**

[Navigate to method\_BarColorDisplayOptions\_init](#method_BarColorDisplayOptions_init)

**init**

(\*, pane) -> None

Class constructor (initializer for the data type).

**parameters info**

pane

bool

default:
False

Whether or not to draw (by default) the plot on the pane.

***

### `Candles`

*type*

Class which objects represent an element of a candles plot: the body spans from open to close and the thin wick spans from low to high.

**1. Fields**

[Navigate to field\_Candles\_open](#field_Candles_open)

open

float

Open value of the candle, one end of its body.

[Navigate to field\_Candles\_high](#field_Candles_high)

high

float

High value of the candle, the top of its wick.

[Navigate to field\_Candles\_low](#field_Candles_low)

low

float

Low value of the candle, the bottom of its wick.

[Navigate to field\_Candles\_close](#field_Candles_close)

close

float

Close value of the candle, the other end of its body; the value of the plot.

[Navigate to field\_Candles\_color](#field_Candles_color)

color

indie.Optional\[indie.Color]

Body color of the candle, overrides the up and down colors of the plot.

[Navigate to field\_Candles\_wick\_color](#field_Candles_wick_color)

wick\_color

indie.Optional\[indie.Color]

Per-bar color of the thin wick from low to high. Uses the resolved body color when not set.

[Navigate to field\_Candles\_border\_color](#field_Candles_border_color)

border\_color

indie.Optional\[indie.Color]

Per-bar border color of the candle. Uses the resolved body color when not set.

[Navigate to field\_Candles\_offset](#field_Candles_offset)

offset

int

Offset of the plot element.

**2. Methods**

[Navigate to method\_Candles\_init](#method_Candles_init)

**init**

(open, high, low, close, color, wick\_color, border\_color, offset) -> None

Class constructor (initializer for the data type).

**parameters info**

open

float

required

Open value of the candle.

high

float

required

High value of the candle, the top of its wick.

low

float

required

Low value of the candle, the bottom of its wick.

close

float

required

Close value of the candle.

color

indie.Optional\[indie.Color]

default:
None

Color of the plot element.

wick\_color

indie.Optional\[indie.Color]

default:
None

Per-bar color of the thin wick from low to high. Uses the resolved body color when not set.

border\_color

indie.Optional\[indie.Color]

default:
None

Per-bar border color of the candle. Uses the resolved body color when not set.

offset

int

default:
0

Offset of the plot element.

> [!NOTE]
>
> See also: [`@candles()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_candles)

***

### `CandlesDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

**1. Methods**

[Navigate to method\_CandlesDisplayOptions\_init](#method_CandlesDisplayOptions_init)

**init**

(\*, pane, status\_line, price\_label) -> None

Class constructor (initializer for the data type).

**parameters info**

pane

bool

default:
False

Whether or not to draw (by default) the plot on the pane.

status\_line

bool

default:
False

Whether or not to show the value of the plot in the status line.

price\_label

bool

default:
False

Whether or not to show the value label of the plot on the price axis.

***

### `ClusterBar`

*type*

Cluster output payload for a single bar timestamp, carrying either `ClusterBarData` or an explanation in `na_reason`.

**1. Methods**

[Navigate to method\_ClusterBar\_init](#method_ClusterBar_init)

**init**

(time, \*, data, na\_reason) -> None

Class constructor (initializer for the data type).

**parameters info**

time

float

required

Bar timestamp in UTC Unix seconds.

data

indie.Optional\[indie.plot.ClusterBarData]

default:
None

Cluster payload for this bar, or `None` when unavailable.

na\_reason

str

default:
""

Explanation when `data` is `None`.

***

### `ClusterBarData`

*type*

Detected clusters and scaling metadata for one bar.

**1. Methods**

[Navigate to method\_ClusterBarData\_init](#method_ClusterBarData_init)

**init**

(clusters, \*, threshold, size\_reference, candidates, reference\_values, value\_reducer, value\_format) -> None

Class constructor (initializer for the data type).

**parameters info**

clusters

list\[indie.plot.ClusterItem]

default:
\[]

List of detected `ClusterItem` objects on this bar.

threshold

indie.Optional\[float]

default:
None

Optional detection threshold active on this bar.

size\_reference

indie.Optional\[float]

default:
None

Optional reference value used to scale cluster sizes.

candidates

int

default:
0

Number of candidate levels evaluated on this bar.

reference\_values

int

default:
0

Number of historical reference values in the lookback window.

value\_reducer

indie.plot.cluster\_value\_reducer

default:
indie.plot.cluster\_value\_reducer.SUM

Reducer used when merging overlapping cluster values.

value\_format

indie.Optional\[indie.plot.ClusterFormat]

default:
None

Optional per-bar override for value formatting.

***

### `ClusterFormat`

*type*

Number format for cluster labels and tooltip fields.

**1. Methods**

[Navigate to method\_ClusterFormat\_init](#method_ClusterFormat_init)

**init**

(type, \*, precision) -> None

Class constructor (initializer for the data type).

**parameters info**

type

indie.plot.cluster\_format

default:
indie.plot.cluster\_format.NUMBER

Number format type.

precision

int

default:
0

Non-negative number of decimal places.

***

### `ClusterItem`

*type*

A single detected price cluster with its price bounds, metric value, relative size, optional layer breakdown, tooltip values, and horizontal level state.

**1. Methods**

[Navigate to method\_ClusterItem\_init](#method_ClusterItem_init)

**init**

(id, price\_low, price\_high, price\_center, value, relative\_size, \*, layers, tooltip\_values, color\_layer\_index, color, level, label\_value, count) -> None

Class constructor (initializer for the data type).

**parameters info**

id

str

required

Unique identifier of the cluster within the bar.

price\_low

float

required

Lower price bound of the cluster.

price\_high

float

required

Upper price bound of the cluster.

price\_center

float

required

Center price where the cluster marker is anchored.

value

float

required

Primary metric value of the cluster.

relative\_size

float

required

Normalized cluster size used for proportional scaling.

layers

list\[float]

default:
\[]

Per-layer values matching the declared `layers` order.

tooltip\_values

list\[indie.plot.ClusterTooltipValue]

default:
\[]

Tooltip values matching the declared `tooltip_fields` order.

color\_layer\_index

indie.Optional\[int]

default:
None

Optional layer index overriding the fill color.

color

indie.Optional\[indie.Color]

default:
None

Optional explicit color override for this cluster.

level

indie.Optional\[indie.plot.ClusterLevel]

default:
None

Optional horizontal level state attached to this cluster.

label\_value

indie.Optional\[float]

default:
None

Optional explicit value shown in the cluster label instead of `value`.

count

int

default:
1

Number of source levels or items merged into this cluster.

***

### `ClusterLayer`

*type*

Declares one named color layer for `@plot.price_cluster` multi-layer fills (for example Buy and Sell).

**1. Methods**

[Navigate to method\_ClusterLayer\_init](#method_ClusterLayer_init)

**init**

(title, color) -> None

Class constructor (initializer for the data type).

**parameters info**

title

str

required

Unique non-empty layer title shown in settings and tooltips.

color

indie.Color

required

Default layer color.

***

### `ClusterLevel`

*type*

Horizontal price level state attached to a `ClusterItem`.

**1. Methods**

[Navigate to method\_ClusterLevel\_init](#method_ClusterLevel_init)

**init**

(state, \*, end\_time) -> None

Class constructor (initializer for the data type).

**parameters info**

state

indie.plot.cluster\_level\_state

default:
indie.plot.cluster\_level\_state.NONE

Current lifecycle state of the horizontal level.

end\_time

indie.Optional\[float]

default:
None

Optional UTC Unix end timestamp when the level is invalidated or terminated.

***

### `ClusterTooltipField`

*type*

Declares one structured field shown in a cluster hover tooltip.

**1. Methods**

[Navigate to method\_ClusterTooltipField\_init](#method_ClusterTooltipField_init)

**init**

(id, title, \*, format) -> None

Class constructor (initializer for the data type).

**parameters info**

id

str

required

Unique field ID matching `[A-Za-z0-9_]{1,32}`.

title

str

required

Field label shown in cluster hover tooltips.

format

indie.plot.ClusterFormat

default:
indie.plot.ClusterFormat(indie.plot.cluster\_format.NUMBER)

Number format applied to numeric values of this tooltip field.

***

### `ClusterTooltipValue`

*type*

Value for one `ClusterTooltipField` on a `ClusterItem` (numeric, text, or boolean).

**1. Methods**

[Navigate to method\_ClusterTooltipValue\_init](#method_ClusterTooltipValue_init)

**init**

(\*, number\_value, text\_value, bool\_value) -> None

Class constructor (initializer for the data type).

**parameters info**

number\_value

indie.Optional\[float]

default:
None

Optional numeric value for the tooltip field.

text\_value

indie.Optional\[str]

default:
None

Optional text value for the tooltip field.

bool\_value

indie.Optional\[bool]

default:
None

Optional boolean value for the tooltip field.

***

### `Columns`

*type*

Class which objects represent an element of columns plot.

**1. Fields**

[Navigate to field\_Columns\_value](#field_Columns_value)

value

float

Value of the plot element.

[Navigate to field\_Columns\_color](#field_Columns_color)

color

indie.Optional\[indie.Color]

Color of the plot element.

[Navigate to field\_Columns\_offset](#field_Columns_offset)

offset

int

Offset of the plot element.

**2. Methods**

[Navigate to method\_Columns\_init](#method_Columns_init)

**init**

(value, color, offset) -> None

Class constructor (initializer for the data type).

**parameters info**

value

float

required

Value of the plot element.

color

indie.Optional\[indie.Color]

default:
None

Color of the plot element.

offset

int

default:
0

Offset of the plot element.

> [!NOTE]
>
> See also: [`@columns()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_columns)

***

### `ColumnsDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

**1. Methods**

[Navigate to method\_ColumnsDisplayOptions\_init](#method_ColumnsDisplayOptions_init)

**init**

(\*, pane, status\_line, price\_label, price\_scale\_id) -> None

Class constructor (initializer for the data type).

**parameters info**

pane

bool

default:
False

Whether or not to draw (by default) the plot on the pane.

status\_line

bool

default:
False

Whether or not to show the value of the plot in the status line.

price\_label

bool

default:
False

Whether or not to show the value label of the plot on the price axis.

price\_scale\_id

str

default:
''

ID of the price scale used to draw the plot. Empty uses the legacy scale. `left` and `right` use the existing axes. Other IDs name a custom scale scoped to an indicator instance; `volume` places it in the lower strip of the main pane.

***

### `Fill`

*type*

Class which objects represent an element of fill plot.

**1. Fields**

[Navigate to field\_Fill\_color](#field_Fill_color)

color

indie.Optional\[indie.Color]

Color of the plot element.

[Navigate to field\_Fill\_offset](#field_Fill_offset)

offset

int

Offset of the plot element.

**2. Methods**

[Navigate to method\_Fill\_init](#method_Fill_init)

**init**

(color, offset) -> None

Class constructor (initializer for the data type).

**parameters info**

color

indie.Optional\[indie.Color]

default:
None

Color of the plot element.

offset

int

default:
0

Offset of the plot element.

> [!NOTE]
>
> See also: [`@fill()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_fill)

***

### `FillDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

**1. Methods**

[Navigate to method\_FillDisplayOptions\_init](#method_FillDisplayOptions_init)

**init**

(\*, pane) -> None

Class constructor (initializer for the data type).

**parameters info**

pane

bool

default:
False

Whether or not to draw (by default) the plot on the pane.

***

### `GridCell`

*type*

An optional detail value or explanation for a missing value in one grid cell. The row\_id identifies the declared row.

**1. Methods**

[Navigate to method\_GridCell\_init](#method_GridCell_init)

**init**

(row\_id, \*, detail, na\_reason) -> None

Class constructor (initializer for the data type).

**parameters info**

row\_id

str

required

ID of the row this cell belongs to.

detail

indie.Optional\[float]

default:
None

Detail value shown with the row detail format; None shows no detail.

na\_reason

str

default:
""

Why this cell has no value; ignored when the cell has a value.

***

### `GridDomain`

*type*

A fixed value range that maps row values to colors.

**1. Methods**

[Navigate to method\_GridDomain\_init](#method_GridDomain_init)

**init**

(min, max) -> None

Class constructor (initializer for the data type).

**parameters info**

min

float

required

Value that maps to no color; must be less than `max`.

max

float

required

Value that maps to the full color.

***

### `GridFormat`

*type*

How the values of a data grid row are formatted.

**1. Methods**

[Navigate to method\_GridFormat\_init](#method_GridFormat_init)

**init**

(type, \*, precision, suffix) -> None

Class constructor (initializer for the data type).

**parameters info**

type

indie.plot.grid\_format

required

Number format type.

precision

int

default:
2

Number of decimal places.

suffix

str

default:
""

Text appended to the value; allowed only with `grid_format.NUMBER`.

***

### `GridRow`

*type*

Declares one data grid row: its labels, colors, number format and optional detail format.

**1. Methods**

[Navigate to method\_GridRow\_init](#method_GridRow_init)

**init**

(id, short\_label, long\_label, \*, colors, signed, format, detail, domain, cell\_style, cell\_coloring, visible, description) -> None

Declares one row of a data grid.

**parameters info**

id

str

required

Row ID, unique in the grid: 1 to 32 letters, digits or underscores.

short\_label

str

required

Label shown next to the row.

long\_label

str

required

Label shown in tooltips and settings.

colors

list\[indie.Color]

required

One color, or two colors (positive, negative) for a signed row.

signed

bool

default:
False

Whether negative values get the second color.

format

indie.plot.GridFormat

default:
indie.plot.GridFormat(indie.plot.grid\_format.NUMBER)

Format of the row values.

detail

indie.Optional\[indie.plot.GridRowDetail]

default:
None

Format of the per-cell detail value; None shows no detail.

domain

indie.Optional\[indie.plot.GridDomain]

default:
None

Fixed value range for colors; None scales by the percentile of absolute values.

cell\_style

indie.Optional\[indie.plot.grid\_cell\_style]

default:
None

Cell style of this row; None uses the grid cell style.

cell\_coloring

indie.Optional\[indie.plot.grid\_cell\_coloring]

default:
None

Cell coloring of this row; None uses the grid cell coloring.

visible

bool

default:
True

Whether the row is visible by default.

description

str

default:
""

Row description shown in tooltips.

***

### `GridRowDetail`

*type*

A secondary value shown next to the cell value, set per cell with `plot.GridCell`.

**1. Methods**

[Navigate to method\_GridRowDetail\_init](#method_GridRowDetail_init)

**init**

(format, separator) -> None

Class constructor (initializer for the data type).

**parameters info**

format

indie.plot.GridFormat

required

Format of the detail value.

separator

str

default:
" @ "

Text between the value and its detail.

***

### `GridValue`

*type*

Values of the data grid for one bar, in the order of the declared rows. Return one value per row; use NaN for a missing value.

**1. Methods**

[Navigate to method\_GridValue\_init](#method_GridValue_init)

**init**

(values, \*, cells, marks, na\_reason) -> None

Class constructor (initializer for the data type).

**parameters info**

values

list\[float]

required

One value per row, in the declaration order; NaN marks a missing value.

cells

list\[indie.plot.GridCell]

default:
\[]

Per-cell extras for rows of this bar.

marks

list\[str]

default:
\[]

IDs of rows whose period starts at this bar.

na\_reason

str

default:
""

Why the whole bar has no values; empty when it has them.

> [!NOTE]
>
> See also: [`@data_grid()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_data_grid)

***

### `Histogram`

*type*

Class which objects represent an element of histogram plot.

**1. Fields**

[Navigate to field\_Histogram\_value](#field_Histogram_value)

value

float

Value of the plot element.

[Navigate to field\_Histogram\_color](#field_Histogram_color)

color

indie.Optional\[indie.Color]

Color of the plot element.

[Navigate to field\_Histogram\_offset](#field_Histogram_offset)

offset

int

Offset of the plot element.

**2. Methods**

[Navigate to method\_Histogram\_init](#method_Histogram_init)

**init**

(value, color, offset) -> None

Class constructor (initializer for the data type).

**parameters info**

value

float

required

Value of the plot element.

color

indie.Optional\[indie.Color]

default:
None

Color of the plot element.

offset

int

default:
0

Offset of the plot element.

> [!NOTE]
>
> See also: [`@histogram()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_histogram)

***

### `HistogramDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

**1. Methods**

[Navigate to method\_HistogramDisplayOptions\_init](#method_HistogramDisplayOptions_init)

**init**

(\*, pane, status\_line, price\_label) -> None

Class constructor (initializer for the data type).

**parameters info**

pane

bool

default:
False

Whether or not to draw (by default) the plot on the pane.

status\_line

bool

default:
False

Whether or not to show the value of the plot in the status line.

price\_label

bool

default:
False

Whether or not to show the value label of the plot on the price axis.

***

### `Line`

*type*

Class which objects represent an element of line plot.

**1. Fields**

[Navigate to field\_Line\_value](#field_Line_value)

value

float

Value of the plot element.

[Navigate to field\_Line\_color](#field_Line_color)

color

indie.Optional\[indie.Color]

Color of the plot element.

[Navigate to field\_Line\_offset](#field_Line_offset)

offset

int

Offset of the plot element.

**2. Methods**

[Navigate to method\_Line\_init](#method_Line_init)

**init**

(value, color, offset) -> None

Class constructor (initializer for the data type).

**parameters info**

value

float

required

Value of the plot element.

color

indie.Optional\[indie.Color]

default:
None

Color of the plot element.

offset

int

default:
0

Offset of the plot element.

> [!NOTE]
>
> See also: [`@line()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_line)

***

### `LineDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

**1. Methods**

[Navigate to method\_LineDisplayOptions\_init](#method_LineDisplayOptions_init)

**init**

(\*, pane, status\_line, price\_label, price\_scale\_id) -> None

Class constructor (initializer for the data type).

**parameters info**

pane

bool

default:
False

Whether or not to draw (by default) the plot on the pane.

status\_line

bool

default:
False

Whether or not to show the value of the plot in the status line.

price\_label

bool

default:
False

Whether or not to show the value label of the plot on the price axis.

price\_scale\_id

str

default:
''

ID of the price scale used to draw the plot. Empty uses the legacy scale. `left` and `right` use the existing axes. Other IDs name a custom scale scoped to an indicator instance; `volume` places it in the lower strip of the main pane.

***

### `Marker`

*type*

Class which objects represent an element of marker plot.

**1. Fields**

[Navigate to field\_Marker\_value](#field_Marker_value)

value

float

Value of the plot element.

[Navigate to field\_Marker\_color](#field_Marker_color)

color

indie.Optional\[indie.Color]

Color of the plot element.

[Navigate to field\_Marker\_text](#field_Marker_text)

text

indie.Optional\[str]

Marker text.

[Navigate to field\_Marker\_offset](#field_Marker_offset)

offset

int

Offset of the plot element.

**2. Methods**

[Navigate to method\_Marker\_init](#method_Marker_init)

**init**

(value, color, text, offset) -> None

Class constructor (initializer for the data type).

**parameters info**

value

float

required

Value of the plot element.

color

indie.Optional\[indie.Color]

default:
None

Color of the plot element.

text

indie.Optional\[str]

default:
None

Marker text.

offset

int

default:
0

Offset of the plot element.

> [!NOTE]
>
> See also: [`@marker()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_marker)

***

### `MarkerDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

**1. Methods**

[Navigate to method\_MarkerDisplayOptions\_init](#method_MarkerDisplayOptions_init)

**init**

(\*, pane, status\_line, price\_label) -> None

Class constructor (initializer for the data type).

**parameters info**

pane

bool

default:
False

Whether or not to draw (by default) the plot on the pane.

status\_line

bool

default:
False

Whether or not to show the value of the plot in the status line.

price\_label

bool

default:
False

Whether or not to show the value label of the plot on the price axis.

***

### `PriceClusterValue`

*type*

Output value returned from `Main.calc` for a `@plot.price_cluster` plot, containing one or more `ClusterBar` updates.

**1. Methods**

[Navigate to method\_PriceClusterValue\_init](#method_PriceClusterValue_init)

**init**

(bars) -> None

Class constructor (initializer for the data type).

**parameters info**

bars

list\[indie.plot.ClusterBar]

default:
\[]

List of `ClusterBar` updates emitted on this step.

> [!NOTE]
>
> See also: [`@price_cluster()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_price_cluster)[`ClusterBar`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#class_ClusterBar)

***

### `PriceHistogramDisplayOptions`

*type*

Display options for an aggregated price histogram produced by `plot.Aggregation`.

**1. Methods**

[Navigate to method\_PriceHistogramDisplayOptions\_init](#method_PriceHistogramDisplayOptions_init)

**init**

(\*, pane) -> None

Class constructor (initializer for the data type).

**parameters info**

pane

bool

default:
False

Whether or not to draw (by default) the plot on the pane.

***

### `PriceHistogramSeries`

*type*

Per-bar price histogram output value returned from `Main.calc` for a `@plot.price_histogram_series` plot. Call `add()` to accumulate layer values at price rows and `reset()` to clear rows or change `row_size`.

**1. Fields**

[Navigate to field\_PriceHistogramSeries\_time\_to](#field_PriceHistogramSeries_time_to)

time\_to

float

End timestamp (UTC Unix seconds) of the profile interval on the chart.

[Navigate to field\_PriceHistogramSeries\_merge\_rows\_on\_zoom](#field_PriceHistogramSeries_merge_rows_on_zoom)

merge\_rows\_on\_zoom

indie.Optional\[bool]

Optional per-bar override for merging adjacent rows on zoom-out; `None` keeps the chart or decorator setting.

**2. Methods**

[Navigate to method\_PriceHistogramSeries\_init](#method_PriceHistogramSeries_init)

**init**

(row\_size) -> None

Initializes an empty price histogram output value with the given row height.

**parameters info**

row\_size

float

required

Positive price height of each histogram row.

[Navigate to method\_PriceHistogramSeries\_add](#method_PriceHistogramSeries_add)

add

(price, values) -> None

Adds layer values at the given price row in the declared layer order.

**parameters info**

price

float

required

Lower price edge of the row to accumulate values into.

values

list\[float]

required

Layer values to add at the given price, in the declared layer order.

[Navigate to method\_PriceHistogramSeries\_reset](#method_PriceHistogramSeries_reset)

reset

(row\_size) -> None

Clears all rows and sets a new row height.

**parameters info**

row\_size

float

required

New positive price height for subsequent rows.

> [!NOTE]
>
> See also: [`@price_histogram_series()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_price_histogram_series)

***

### `PriceHistogramSeriesDisplayOptions`

*type*

Display options for `@plot.price_histogram_series`, controlling whether individual bar histograms are drawn on the pane.

**1. Methods**

[Navigate to method\_PriceHistogramSeriesDisplayOptions\_init](#method_PriceHistogramSeriesDisplayOptions_init)

**init**

(\*, pane) -> None

Class constructor (initializer for the data type).

**parameters info**

pane

bool

default:
False

Whether or not to draw (by default) the plot on the pane.

***

### `ProfileLayer`

*type*

A price histogram layer with its title and default colors.

**1. Methods**

[Navigate to method\_ProfileLayer\_init](#method_ProfileLayer_init)

**init**

(title, color, \*, outline\_color) -> None

Declares one layer in the profile value order.

**parameters info**

title

str

required

Layer title shown in chart settings.

color

indie.Color

required

Default layer color inside Value Area.

outline\_color

indie.Optional\[indie.Color]

default:
None

Default outline color of the layer bars; None keeps the chart default.

**init**

(title, color, color\_outside\_value\_area, \*, outline\_color) -> None

Declares one layer in the profile value order.

**parameters info**

title

str

required

Layer title shown in chart settings.

color

indie.Color

required

Default layer color inside Value Area.

color\_outside\_value\_area

indie.Color

required

Default color outside Value Area; when omitted, uses the inside color.

outline\_color

indie.Optional\[indie.Color]

default:
None

Default outline color of the layer bars; None keeps the chart default.

***

### `SecondaryHistogram`

*type*

A second histogram over the profile rows, drawn back to back with it.

**1. Methods**

[Navigate to method\_SecondaryHistogram\_init](#method_SecondaryHistogram_init)

**init**

(display\_mode, visible, \*, alpha\_by\_total, highlights) -> None

Declares what the secondary histogram shows, whether it is drawn by default, and its default width and colors.

**parameters info**

display\_mode

indie.drawings.secondary\_histogram\_display\_mode

required

What the secondary histogram shows, for example `DELTA`.

visible

bool

default:
False

Whether the secondary histogram is drawn by default; users can toggle it.

alpha\_by\_total

bool

default:
False

Whether row opacity scales with the row delta relative to the largest one.

highlights

indie.Optional\[indie.plot.SecondaryHistogramHighlights]

default:
None

Default highlighting of secondary rows; None keeps the chart default.

**init**

(display\_mode, visible, \*, width, alpha\_by\_total, highlights) -> None

Declares what the secondary histogram shows, whether it is drawn by default, and its default width and colors.

**parameters info**

display\_mode

indie.drawings.secondary\_histogram\_display\_mode

required

What the secondary histogram shows, for example `DELTA`.

visible

bool

default:
False

Whether the secondary histogram is drawn by default; users can toggle it.

width

float

required

Default share of the profile width the secondary histogram takes, in (0, 1]; when omitted, the chart decides.

alpha\_by\_total

bool

default:
False

Whether row opacity scales with the row delta relative to the largest one.

highlights

indie.Optional\[indie.plot.SecondaryHistogramHighlights]

default:
None

Default highlighting of secondary rows; None keeps the chart default.

**init**

(display\_mode, visible, \*, layers, alpha\_by\_total, highlights) -> None

Declares what the secondary histogram shows, whether it is drawn by default, and its default width and colors.

**parameters info**

display\_mode

indie.drawings.secondary\_histogram\_display\_mode

required

What the secondary histogram shows, for example `DELTA`.

visible

bool

default:
False

Whether the secondary histogram is drawn by default; users can toggle it.

layers

list\[indie.plot.SecondaryHistogramLayer]

required

Default colors of the two secondary layers; when omitted, the chart picks them.

alpha\_by\_total

bool

default:
False

Whether row opacity scales with the row delta relative to the largest one.

highlights

indie.Optional\[indie.plot.SecondaryHistogramHighlights]

default:
None

Default highlighting of secondary rows; None keeps the chart default.

**init**

(display\_mode, visible, \*, width, layers, alpha\_by\_total, highlights) -> None

Declares what the secondary histogram shows, whether it is drawn by default, and its default width and colors.

**parameters info**

display\_mode

indie.drawings.secondary\_histogram\_display\_mode

required

What the secondary histogram shows, for example `DELTA`.

visible

bool

default:
False

Whether the secondary histogram is drawn by default; users can toggle it.

width

float

required

Default share of the profile width the secondary histogram takes, in (0, 1]; when omitted, the chart decides.

layers

list\[indie.plot.SecondaryHistogramLayer]

required

Default colors of the two secondary layers; when omitted, the chart picks them.

alpha\_by\_total

bool

default:
False

Whether row opacity scales with the row delta relative to the largest one.

highlights

indie.Optional\[indie.plot.SecondaryHistogramHighlights]

default:
None

Default highlighting of secondary rows; None keeps the chart default.

***

### `SecondaryHistogramHighlights`

*type*

Default highlighting of secondary histogram rows; omitted fields keep the chart defaults.

**1. Methods**

[Navigate to method\_SecondaryHistogramHighlights\_init](#method_SecondaryHistogramHighlights_init)

**init**

(\*, visible, strategy, persistent) -> None

Declares whether secondary rows are highlighted, which ones, and whether the highlighting persists.

**parameters info**

visible

indie.Optional\[bool]

default:
None

Whether highlighting is on by default; None keeps the chart default.

strategy

indie.Optional\[indie.plot.secondary\_histogram\_highlights\_strategy]

default:
None

Which rows to highlight, for example `EXTREMES`; None keeps the chart default.

persistent

indie.Optional\[bool]

default:
None

Whether the highlighting persists; None keeps the chart default.

***

### `SecondaryHistogramLayer`

*type*

Default colors of one secondary histogram layer.

**1. Methods**

[Navigate to method\_SecondaryHistogramLayer\_init](#method_SecondaryHistogramLayer_init)

**init**

(color, \*, outline\_color, highlight\_color) -> None

Declares one secondary layer. In `DELTA` mode the first is for a nonnegative delta, the second for a negative one.

**parameters info**

color

indie.Color

required

Default layer color inside Value Area.

outline\_color

indie.Optional\[indie.Color]

default:
None

Default outline color of the layer bars; None keeps the chart default.

highlight\_color

indie.Optional\[indie.Color]

default:
None

Color of highlighted rows of the layer; None keeps the chart default.

**init**

(color, color\_outside\_value\_area, \*, outline\_color, highlight\_color) -> None

Declares one secondary layer. In `DELTA` mode the first is for a nonnegative delta, the second for a negative one.

**parameters info**

color

indie.Color

required

Default layer color inside Value Area.

color\_outside\_value\_area

indie.Color

required

Default color outside Value Area; when omitted, uses the inside color.

outline\_color

indie.Optional\[indie.Color]

default:
None

Default outline color of the layer bars; None keeps the chart default.

highlight\_color

indie.Optional\[indie.Color]

default:
None

Color of highlighted rows of the layer; None keeps the chart default.

***

### `Steps`

*type*

Class which objects represent an element of steps plot.

**1. Fields**

[Navigate to field\_Steps\_value](#field_Steps_value)

value

float

Value of the plot element.

[Navigate to field\_Steps\_color](#field_Steps_color)

color

indie.Optional\[indie.Color]

Color of the plot element.

[Navigate to field\_Steps\_offset](#field_Steps_offset)

offset

int

Offset of the plot element.

**2. Methods**

[Navigate to method\_Steps\_init](#method_Steps_init)

**init**

(value, color, offset) -> None

Class constructor (initializer for the data type).

**parameters info**

value

float

required

Value of the plot element.

color

indie.Optional\[indie.Color]

default:
None

Color of the plot element.

offset

int

default:
0

Offset of the plot element.

> [!NOTE]
>
> See also: [`@steps()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_steps)

***

### `StepsDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

**1. Methods**

[Navigate to method\_StepsDisplayOptions\_init](#method_StepsDisplayOptions_init)

**init**

(\*, pane, status\_line, price\_label) -> None

Class constructor (initializer for the data type).

**parameters info**

pane

bool

default:
False

Whether or not to draw (by default) the plot on the pane.

status\_line

bool

default:
False

Whether or not to show the value of the plot in the status line.

price\_label

bool

default:
False

Whether or not to show the value label of the plot on the price axis.

***

### `TpoProfile`

*type*

Output wrapper returned from `Main.calc` for a `@plot.tpo_profile` output, carrying a native `indie.data.TpoProfile` (or `None` when no profile is available on the bar).

**1. Methods**

[Navigate to method\_PlotTpoProfile\_init](#method_PlotTpoProfile_init)

**init**

(profile) -> None

Class constructor (initializer for the data type).

**parameters info**

profile

indie.Optional\[indie.data.TpoProfile]

default:
None

Native `indie.data.TpoProfile` for this bar, or `None` when unavailable.

> [!NOTE]
>
> See also: [`@tpo_profile()`](https://takeprofit.com/docs/indie/Library-reference/package-indie-plot#decor_tpo_profile)[`TpoProfile`](https://takeprofit.com/docs/indie/Library-reference/package-indie-data#class_TpoProfile)

***

### `VisibleRange`

*type*

Aggregation range covering the currently visible chart bars.

**1. Methods**

[Navigate to method\_VisibleRange\_init](#method_VisibleRange_init)

**init**

() -> None

Class constructor (initializer for the data type).

***

## Enums

### `cluster_fill_mode`

*enum*

How multi-layer cluster shapes are filled.

**1. Static fields**

[Navigate to const\_cluster\_fill\_mode\_SOLID](#const_cluster_fill_mode_SOLID)

SOLID

indie.plot.cluster\_fill\_mode

Fills each cluster with a single solid color.

[Navigate to const\_cluster\_fill\_mode\_DOMINANT](#const_cluster_fill_mode_DOMINANT)

DOMINANT

indie.plot.cluster\_fill\_mode

Fills each cluster with the color of its largest layer.

[Navigate to const\_cluster\_fill\_mode\_PIE](#const_cluster_fill_mode_PIE)

PIE

indie.plot.cluster\_fill\_mode

Fills each cluster as proportional pie sectors for its layers.

[Navigate to const\_cluster\_fill\_mode\_SPLIT](#const_cluster_fill_mode_SPLIT)

SPLIT

indie.plot.cluster\_fill\_mode

Splits each cluster fill proportionally across its layers.

***

### `cluster_format`

*enum*

Number format type for cluster labels and tooltips.

**1. Static fields**

[Navigate to const\_cluster\_format\_NUMBER](#const_cluster_format_NUMBER)

NUMBER

indie.plot.cluster\_format

Plain number format.

[Navigate to const\_cluster\_format\_VOLUME](#const_cluster_format_VOLUME)

VOLUME

indie.plot.cluster\_format

Volume format.

[Navigate to const\_cluster\_format\_PERCENT](#const_cluster_format_PERCENT)

PERCENT

indie.plot.cluster\_format

Percent format.

[Navigate to const\_cluster\_format\_PRICE](#const_cluster_format_PRICE)

PRICE

indie.plot.cluster\_format

Price format with the instrument price precision; `precision` is ignored.

***

### `cluster_level_mode`

*enum*

Which horizontal cluster levels are displayed on the chart.

**1. Static fields**

[Navigate to const\_cluster\_level\_mode\_NONE](#const_cluster_level_mode_NONE)

NONE

indie.plot.cluster\_level\_mode

Hides horizontal cluster levels.

[Navigate to const\_cluster\_level\_mode\_NEAR\_PRICE](#const_cluster_level_mode_NEAR_PRICE)

NEAR\_PRICE

indie.plot.cluster\_level\_mode

Shows horizontal levels within `near_price_fraction` of the current price.

[Navigate to const\_cluster\_level\_mode\_ALL](#const_cluster_level_mode_ALL)

ALL

indie.plot.cluster\_level\_mode

Shows all horizontal cluster levels.

***

### `cluster_level_state`

*enum*

Lifecycle state of a horizontal cluster level.

**1. Static fields**

[Navigate to const\_cluster\_level\_state\_NONE](#const_cluster_level_state_NONE)

NONE

indie.plot.cluster\_level\_state

No horizontal level is attached.

[Navigate to const\_cluster\_level\_state\_PENDING](#const_cluster_level_state_PENDING)

PENDING

indie.plot.cluster\_level\_state

Level is active and awaiting confirmation.

[Navigate to const\_cluster\_level\_state\_CONFIRMED](#const_cluster_level_state_CONFIRMED)

CONFIRMED

indie.plot.cluster\_level\_state

Level has been confirmed by price action.

[Navigate to const\_cluster\_level\_state\_INVALIDATED](#const_cluster_level_state_INVALIDATED)

INVALIDATED

indie.plot.cluster\_level\_state

Level was breached and ends at `end_time`.

***

### `cluster_shape`

*enum*

Marker shape used to render price clusters.

**1. Static fields**

[Navigate to const\_cluster\_shape\_CIRCLE](#const_cluster_shape_CIRCLE)

CIRCLE

indie.plot.cluster\_shape

Renders each cluster as a circle.

[Navigate to const\_cluster\_shape\_SQUARE](#const_cluster_shape_SQUARE)

SQUARE

indie.plot.cluster\_shape

Renders each cluster as a square.

[Navigate to const\_cluster\_shape\_DIAMOND](#const_cluster_shape_DIAMOND)

DIAMOND

indie.plot.cluster\_shape

Renders each cluster as a diamond.

***

### `cluster_size_mode`

*enum*

How cluster marker radii are sized.

**1. Static fields**

[Navigate to const\_cluster\_size\_mode\_FIXED](#const_cluster_size_mode_FIXED)

FIXED

indie.plot.cluster\_size\_mode

Uses `fixed_radius` for every cluster.

[Navigate to const\_cluster\_size\_mode\_PROPORTIONAL](#const_cluster_size_mode_PROPORTIONAL)

PROPORTIONAL

indie.plot.cluster\_size\_mode

Scales cluster radius between `min_radius` and `max_radius` by `relative_size`.

***

### `cluster_value_reducer`

*enum*

How overlapping cluster values are combined when merged.

**1. Static fields**

[Navigate to const\_cluster\_value\_reducer\_SUM](#const_cluster_value_reducer_SUM)

SUM

indie.plot.cluster\_value\_reducer

Sums combined cluster values.

[Navigate to const\_cluster\_value\_reducer\_MAX](#const_cluster_value_reducer_MAX)

MAX

indie.plot.cluster\_value\_reducer

Keeps the maximum combined cluster value.

***

### `grid_cell_coloring`

*enum*

How the cells of a data grid are colored.

**1. Static fields**

[Navigate to const\_grid\_cell\_coloring\_STEPS](#const_grid_cell_coloring_STEPS)

STEPS

indie.plot.grid\_cell\_coloring

Cells step from the neutral color to the row color by value strength.

[Navigate to const\_grid\_cell\_coloring\_SOLID](#const_grid_cell_coloring_SOLID)

SOLID

indie.plot.grid\_cell\_coloring

Cells use the row color whatever the value, the second color for negative values of a signed row.

***

### `grid_cell_style`

*enum*

How the cells of a data grid are drawn.

**1. Static fields**

[Navigate to const\_grid\_cell\_style\_FILL](#const_grid_cell_style_FILL)

FILL

indie.plot.grid\_cell\_style

Cells are filled with the row color.

[Navigate to const\_grid\_cell\_style\_DOTS](#const_grid_cell_style_DOTS)

DOTS

indie.plot.grid\_cell\_style

Cells are drawn as dots.

[Navigate to const\_grid\_cell\_style\_COLUMNS](#const_grid_cell_style_COLUMNS)

COLUMNS

indie.plot.grid\_cell\_style

Cells are drawn as columns.

***

### `grid_format`

*enum*

Number format of data grid values.

**1. Static fields**

[Navigate to const\_grid\_format\_VOLUME](#const_grid_format_VOLUME)

VOLUME

indie.plot.grid\_format

Volume format.

[Navigate to const\_grid\_format\_NUMBER](#const_grid_format_NUMBER)

NUMBER

indie.plot.grid\_format

Plain number format.

[Navigate to const\_grid\_format\_PERCENT](#const_grid_format_PERCENT)

PERCENT

indie.plot.grid\_format

Percent format.

[Navigate to const\_grid\_format\_PRICE](#const_grid_format_PRICE)

PRICE

indie.plot.grid\_format

Price format with the instrument price precision; `precision` is ignored.

***

### `grid_normalization`

*enum*

Which bars are used to scale row colors.

**1. Static fields**

[Navigate to const\_grid\_normalization\_ALL](#const_grid_normalization_ALL)

ALL

indie.plot.grid\_normalization

Scales by all loaded bars.

[Navigate to const\_grid\_normalization\_VISIBLE](#const_grid_normalization_VISIBLE)

VISIBLE

indie.plot.grid\_normalization

Scales by the visible bars.

***

### `marker_position`

*enum*

Enum-like class with constants of marker positions.

**1. Static fields**

[Navigate to const\_marker\_position\_ABOVE](#const_marker_position_ABOVE)

ABOVE

indie.plot.marker\_position

Built-in marker position constant that determines how the marker is rendered.

[Navigate to const\_marker\_position\_BELOW](#const_marker_position_BELOW)

BELOW

indie.plot.marker\_position

Built-in marker position constant that determines how the marker is rendered.

[Navigate to const\_marker\_position\_LEFT](#const_marker_position_LEFT)

LEFT

indie.plot.marker\_position

Built-in marker position constant that determines how the marker is rendered.

[Navigate to const\_marker\_position\_RIGHT](#const_marker_position_RIGHT)

RIGHT

indie.plot.marker\_position

Built-in marker position constant that determines how the marker is rendered.

[Navigate to const\_marker\_position\_CENTER](#const_marker_position_CENTER)

CENTER

indie.plot.marker\_position

Built-in marker position constant that determines how the marker is rendered.

***

### `marker_style`

*enum*

Enum-like class with constants of marker styles.

**1. Static fields**

[Navigate to const\_marker\_style\_NONE](#const_marker_style_NONE)

NONE

indie.plot.marker\_style

Built-in marker style constant that determines how the marker is rendered.

[Navigate to const\_marker\_style\_CIRCLE](#const_marker_style_CIRCLE)

CIRCLE

indie.plot.marker\_style

Built-in marker style constant that determines how the marker is rendered.

[Navigate to const\_marker\_style\_LABEL](#const_marker_style_LABEL)

LABEL

indie.plot.marker\_style

Built-in marker style constant that determines how the marker is rendered.

[Navigate to const\_marker\_style\_CROSS](#const_marker_style_CROSS)

CROSS

indie.plot.marker\_style

Built-in marker style constant that determines how the marker is rendered.

***

### `reducer`

*enum*

How per-bar price histograms are combined across an aggregation range.

**1. Static fields**

[Navigate to const\_reducer\_SUM](#const_reducer_SUM)

SUM

indie.plot.reducer

Sums matching price-row layer values across all bars in the range.

***

### `secondary_histogram_highlights_strategy`

*enum*

Which rows of a secondary histogram are highlighted.

**1. Static fields**

[Navigate to const\_secondary\_histogram\_highlights\_strategy\_EXTREMES](#const_secondary_histogram_highlights_strategy_EXTREMES)

EXTREMES

indie.plot.secondary\_histogram\_highlights\_strategy

Highlights the row with the largest positive delta and the row with the largest negative delta.

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.