A Rust library providing a comprehensive collection of technical analysis indicators for financial market analysis(especially crypto market analysis).
Developed and maintained by Flicker
Currently supported technical indicators:
- ATR (Average True Range)
- Bollinger Bands
- EMA (Exponential Moving Average)
- MA (Moving Average)
- MACD (Moving Average Convergence Divergence)
- Momentum
- ROC (Rate of Change)
- RSI (Relative Strength Index)
- SMA (Simple Moving Average)
- Stochastic Oscillator
- Support and Resistance Levels
- OBV (On Balance Volume)
- MFI (Money Flow Index)
- Parabolic SAR (Stop and Reverse)
- ADX (Average Directional Index)
- CCI (Commodity Channel Index)
- Williams %R
- Standard Deviation
Add this to your Cargo.toml
:
[dependencies]
indexes-rs = "1.0.1"
Basic example:
use indexes_rs::v1::rsi::main::RSI;
fn main() {
let prices = vec![10.0, 12.0, 11.0, 13.0, 15.0, 14.0];
let rsi = RSI::new(14); // 14-period RSI
}
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.