Expand description
Technical analysis indicators for OHLCV price series.
All functions return Vec<f64> of the same length as the input.
Values before the warm-up period are filled with 0.0.
Structs§
- Ohlcv
- A single OHLCV bar.
Enums§
- Candle
Pattern - Named candlestick patterns.
Functions§
- atr
- Average True Range (Wilder’s smoothing) over
periodbars. - bollinger_
bands - Bollinger Bands: (upper, middle, lower).
- detect_
patterns - Detect candlestick patterns in an OHLCV series.
- ema
- Exponential moving average with smoothing factor α = 2 / (period + 1).
- macd
- MACD indicator: (macd_line, signal_line, histogram).
- obv
- On-Balance Volume.
- rsi
- Wilder’s RSI over
periodbars. - sma
- Simple moving average over
periodbars. - stochastic
- Stochastic oscillator: (%K, %D).