Skip to main content

Module indicators

Module indicators 

Expand description

Common technical indicators for strategy use.

These are deterministic, allocation-free (after init) building blocks that any strategy can compose.

Structs§

Ema
Exponential Moving Average over a stream of prices.
InvalidPeriod
Error returned when constructing an indicator with an invalid period.
Sma
Simple Moving Average over a fixed window of prices.

Enums§

Ma
A moving average — either SMA or EMA — with a uniform interface.
MaType
Which moving-average variant to use.