Main package of Indie language.


Decorators

@algorithm()

decorator

Overloads


@band()

decorator

Overloads


@fill()

decorator

Overloads


@indicator()

decorator

Overloads


@level()

decorator

Overloads


@param_ref()

decorator

Overloads


@plot()

decorator

Overloads


param

type

Class with decorators of indicator input parameters of various types.

Static methods


@sec_context()

decorator

Overloads


Functions

tf()

function

Overloads


Types

Algorithm

type

Base class for the classes that perform some processing of series data.

Fields

Methods


Color

type

Data type to represent color.

Methods

See also: color

Context

type

Data type that represents an instrument with OHLCV series values and other related information.

Fields

Methods


Fill

type

Class that represents a fill object.

Methods

See also: @fill()

IndieError

type

Data type for Indie errors.

Methods


MainContext

type

Base class for the class that represents main context.

Parent

Inherited fields

Inherited methods


MutSeries[T]

type

Generic data type that represents read-write series of values of type T. Type T could be float, int, str, or almost any other type.

Aliases

MutSeriesF = MutSeries[float]

Parent

Methods

Static methods

Inherited methods


Optional[T]

type

Builtin Indie type (similar to Python’s typing.Optional).

Methods


Plot

type

Class that represents a plot object.

Methods

See also: @plot()

SecContext

type

Base class for the classes that represent additional contexts besides the main one.

Parent

Inherited fields

Inherited methods


Series[T]

type

Generic data type that represents read only series of values of type T. Type T could be float, int, str, or almost any other type.

Aliases

SeriesF = Series[float]

Methods


SymbolInfo

type

Data type to represent information about the context’s instrument.

Fields

See also: Context

TimeFrame

type

Data type that represents time frame.

Methods

Static methods


TradingSession

type

Data type to represent different trading periods within a day, including pre-market, regular, and after-hours sessions. Each period is defined by its own schedule.

Fields

Methods


Var[T]

type

Generic data type that represents a rollbackable container for value of type T. Type T could be float, int, str, or almost any other type.

Methods

Static methods


Enums

format

enum

Enum-like class with constants that determine how to format the indicator value on the price scale.

Static fields

See also: @indicator()

line_style

enum

Enum-like class with constants of line styles.

Static fields


plot_style

enum

Enum-like class with constants of plot styles.

Static fields


source

enum

Enum-like class with constants for various price sources (it is used in @indie.param.source).

Static fields

See also: @param.source()

time_frame_unit

enum

Enum-like class with constants for time frame units.

Static fields

See also: TimeFrame