2026-05-21 17:50:45 +02:00
|
|
|
//! Built-in indicators. Every indicator implements [`crate::Indicator`].
|
|
|
|
|
//!
|
|
|
|
|
//! Modules are organised internally by category (trend, momentum, volatility,
|
|
|
|
|
//! volume) but every public name is also re-exported flat from this module and
|
|
|
|
|
//! from the crate root for convenience.
|
|
|
|
|
|
2026-05-22 20:57:52 +02:00
|
|
|
mod accelerator_oscillator;
|
2026-05-22 18:38:21 +02:00
|
|
|
mod adl;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod adx;
|
2026-05-25 15:01:14 +02:00
|
|
|
mod alligator;
|
|
|
|
|
mod alma;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod aroon;
|
2026-05-22 18:17:38 +02:00
|
|
|
mod aroon_oscillator;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod atr;
|
2026-05-22 19:42:14 +02:00
|
|
|
mod atr_trailing_stop;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod awesome_oscillator;
|
2026-05-22 20:57:52 +02:00
|
|
|
mod balance_of_power;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod bollinger;
|
2026-05-22 18:30:49 +02:00
|
|
|
mod bollinger_bandwidth;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod cci;
|
2026-05-22 19:25:32 +02:00
|
|
|
mod chaikin_oscillator;
|
2026-05-22 21:06:36 +02:00
|
|
|
mod chaikin_volatility;
|
2026-05-22 19:42:14 +02:00
|
|
|
mod chande_kroll_stop;
|
|
|
|
|
mod chandelier_exit;
|
2026-05-22 20:57:52 +02:00
|
|
|
mod choppiness_index;
|
2026-05-22 19:25:32 +02:00
|
|
|
mod cmf;
|
2026-05-22 17:53:46 +02:00
|
|
|
mod cmo;
|
2026-05-25 15:28:56 +02:00
|
|
|
mod connors_rsi;
|
2026-05-22 18:09:10 +02:00
|
|
|
mod coppock;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod dema;
|
|
|
|
|
mod donchian;
|
2026-05-22 18:09:10 +02:00
|
|
|
mod dpo;
|
2026-05-22 19:25:32 +02:00
|
|
|
mod ease_of_movement;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod ema;
|
2026-05-25 15:01:14 +02:00
|
|
|
mod evwma;
|
2026-05-22 19:25:32 +02:00
|
|
|
mod force_index;
|
2026-05-25 15:01:14 +02:00
|
|
|
mod frama;
|
2026-05-22 18:26:29 +02:00
|
|
|
mod historical_volatility;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod hma;
|
2026-05-25 15:28:56 +02:00
|
|
|
mod inertia;
|
2026-05-25 15:01:14 +02:00
|
|
|
mod jma;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod kama;
|
|
|
|
|
mod keltner;
|
2026-05-25 15:28:56 +02:00
|
|
|
mod kst;
|
|
|
|
|
mod laguerre_rsi;
|
2026-05-22 19:52:04 +02:00
|
|
|
mod linreg;
|
2026-05-22 21:06:36 +02:00
|
|
|
mod linreg_angle;
|
2026-05-22 19:52:04 +02:00
|
|
|
mod linreg_slope;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod macd;
|
2026-05-22 18:17:38 +02:00
|
|
|
mod mass_index;
|
2026-05-25 15:01:14 +02:00
|
|
|
mod mcginley_dynamic;
|
2026-05-22 19:52:04 +02:00
|
|
|
mod median_price;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod mfi;
|
2026-05-22 17:53:46 +02:00
|
|
|
mod mom;
|
2026-05-22 18:26:29 +02:00
|
|
|
mod natr;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod obv;
|
2026-05-22 18:30:49 +02:00
|
|
|
mod percent_b;
|
2026-05-25 15:28:56 +02:00
|
|
|
mod pgo;
|
2026-05-22 17:53:46 +02:00
|
|
|
mod pmo;
|
2026-05-22 18:09:10 +02:00
|
|
|
mod ppo;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod psar;
|
|
|
|
|
mod roc;
|
|
|
|
|
mod rsi;
|
2026-05-25 15:28:56 +02:00
|
|
|
mod rvi;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod sma;
|
2026-05-25 15:28:56 +02:00
|
|
|
mod smi;
|
2026-05-22 17:10:52 +02:00
|
|
|
mod smma;
|
2026-05-22 18:26:29 +02:00
|
|
|
mod std_dev;
|
2026-05-22 18:02:44 +02:00
|
|
|
mod stoch_rsi;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod stochastic;
|
2026-05-22 19:42:14 +02:00
|
|
|
mod super_trend;
|
2026-05-22 17:45:02 +02:00
|
|
|
mod t3;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod tema;
|
2026-05-22 17:10:52 +02:00
|
|
|
mod trima;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod trix;
|
2026-05-22 21:06:36 +02:00
|
|
|
mod true_range;
|
2026-05-22 17:53:46 +02:00
|
|
|
mod tsi;
|
2026-05-22 19:52:04 +02:00
|
|
|
mod typical_price;
|
2026-05-22 18:26:29 +02:00
|
|
|
mod ulcer_index;
|
2026-05-22 18:02:44 +02:00
|
|
|
mod ultimate_oscillator;
|
2026-05-22 20:57:52 +02:00
|
|
|
mod vertical_horizontal_filter;
|
2026-05-25 15:01:14 +02:00
|
|
|
mod vidya;
|
2026-05-22 18:17:38 +02:00
|
|
|
mod vortex;
|
2026-05-22 18:38:21 +02:00
|
|
|
mod vpt;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod vwap;
|
2026-05-22 17:45:02 +02:00
|
|
|
mod vwma;
|
2026-05-22 19:52:04 +02:00
|
|
|
mod weighted_close;
|
2026-05-21 17:50:45 +02:00
|
|
|
mod williams_r;
|
|
|
|
|
mod wma;
|
2026-05-22 21:06:36 +02:00
|
|
|
mod z_score;
|
2026-05-22 17:45:02 +02:00
|
|
|
mod zlema;
|
2026-05-21 17:50:45 +02:00
|
|
|
|
2026-05-22 20:57:52 +02:00
|
|
|
pub use accelerator_oscillator::AcceleratorOscillator;
|
2026-05-22 18:38:21 +02:00
|
|
|
pub use adl::Adl;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use adx::{Adx, AdxOutput};
|
2026-05-25 15:01:14 +02:00
|
|
|
pub use alligator::{Alligator, AlligatorOutput};
|
|
|
|
|
pub use alma::Alma;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use aroon::{Aroon, AroonOutput};
|
2026-05-22 18:17:38 +02:00
|
|
|
pub use aroon_oscillator::AroonOscillator;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use atr::Atr;
|
2026-05-22 19:42:14 +02:00
|
|
|
pub use atr_trailing_stop::AtrTrailingStop;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use awesome_oscillator::AwesomeOscillator;
|
2026-05-22 20:57:52 +02:00
|
|
|
pub use balance_of_power::BalanceOfPower;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use bollinger::{BollingerBands, BollingerOutput};
|
2026-05-22 18:30:49 +02:00
|
|
|
pub use bollinger_bandwidth::BollingerBandwidth;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use cci::Cci;
|
2026-05-22 19:25:32 +02:00
|
|
|
pub use chaikin_oscillator::ChaikinOscillator;
|
2026-05-22 21:06:36 +02:00
|
|
|
pub use chaikin_volatility::ChaikinVolatility;
|
2026-05-22 19:42:14 +02:00
|
|
|
pub use chande_kroll_stop::{ChandeKrollStop, ChandeKrollStopOutput};
|
|
|
|
|
pub use chandelier_exit::{ChandelierExit, ChandelierExitOutput};
|
2026-05-22 20:57:52 +02:00
|
|
|
pub use choppiness_index::ChoppinessIndex;
|
2026-05-22 19:25:32 +02:00
|
|
|
pub use cmf::ChaikinMoneyFlow;
|
2026-05-22 17:53:46 +02:00
|
|
|
pub use cmo::Cmo;
|
2026-05-25 15:28:56 +02:00
|
|
|
pub use connors_rsi::ConnorsRsi;
|
2026-05-22 18:09:10 +02:00
|
|
|
pub use coppock::Coppock;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use dema::Dema;
|
|
|
|
|
pub use donchian::{Donchian, DonchianOutput};
|
2026-05-22 18:09:10 +02:00
|
|
|
pub use dpo::Dpo;
|
2026-05-22 19:25:32 +02:00
|
|
|
pub use ease_of_movement::EaseOfMovement;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use ema::Ema;
|
2026-05-25 15:01:14 +02:00
|
|
|
pub use evwma::Evwma;
|
2026-05-22 19:25:32 +02:00
|
|
|
pub use force_index::ForceIndex;
|
2026-05-25 15:01:14 +02:00
|
|
|
pub use frama::Frama;
|
2026-05-22 18:26:29 +02:00
|
|
|
pub use historical_volatility::HistoricalVolatility;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use hma::Hma;
|
2026-05-25 15:28:56 +02:00
|
|
|
pub use inertia::Inertia;
|
2026-05-25 15:01:14 +02:00
|
|
|
pub use jma::Jma;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use kama::Kama;
|
|
|
|
|
pub use keltner::{Keltner, KeltnerOutput};
|
2026-05-25 15:28:56 +02:00
|
|
|
pub use kst::{Kst, KstOutput};
|
|
|
|
|
pub use laguerre_rsi::LaguerreRsi;
|
2026-05-22 19:52:04 +02:00
|
|
|
pub use linreg::LinearRegression;
|
2026-05-22 21:06:36 +02:00
|
|
|
pub use linreg_angle::LinRegAngle;
|
2026-05-22 19:52:04 +02:00
|
|
|
pub use linreg_slope::LinRegSlope;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use macd::{MacdIndicator, MacdOutput};
|
2026-05-22 18:17:38 +02:00
|
|
|
pub use mass_index::MassIndex;
|
2026-05-25 15:01:14 +02:00
|
|
|
pub use mcginley_dynamic::McGinleyDynamic;
|
2026-05-22 19:52:04 +02:00
|
|
|
pub use median_price::MedianPrice;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use mfi::Mfi;
|
2026-05-22 17:53:46 +02:00
|
|
|
pub use mom::Mom;
|
2026-05-22 18:26:29 +02:00
|
|
|
pub use natr::Natr;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use obv::Obv;
|
2026-05-22 18:30:49 +02:00
|
|
|
pub use percent_b::PercentB;
|
2026-05-25 15:28:56 +02:00
|
|
|
pub use pgo::Pgo;
|
2026-05-22 17:53:46 +02:00
|
|
|
pub use pmo::Pmo;
|
2026-05-22 18:09:10 +02:00
|
|
|
pub use ppo::Ppo;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use psar::Psar;
|
|
|
|
|
pub use roc::Roc;
|
|
|
|
|
pub use rsi::Rsi;
|
2026-05-25 15:28:56 +02:00
|
|
|
pub use rvi::Rvi;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use sma::Sma;
|
2026-05-25 15:28:56 +02:00
|
|
|
pub use smi::Smi;
|
2026-05-22 17:10:52 +02:00
|
|
|
pub use smma::Smma;
|
2026-05-22 18:26:29 +02:00
|
|
|
pub use std_dev::StdDev;
|
2026-05-22 18:02:44 +02:00
|
|
|
pub use stoch_rsi::StochRsi;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use stochastic::{Stochastic, StochasticOutput};
|
2026-05-22 19:42:14 +02:00
|
|
|
pub use super_trend::{SuperTrend, SuperTrendOutput};
|
2026-05-22 17:45:02 +02:00
|
|
|
pub use t3::T3;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use tema::Tema;
|
2026-05-22 17:10:52 +02:00
|
|
|
pub use trima::Trima;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use trix::Trix;
|
2026-05-22 21:06:36 +02:00
|
|
|
pub use true_range::TrueRange;
|
2026-05-22 17:53:46 +02:00
|
|
|
pub use tsi::Tsi;
|
2026-05-22 19:52:04 +02:00
|
|
|
pub use typical_price::TypicalPrice;
|
2026-05-22 18:26:29 +02:00
|
|
|
pub use ulcer_index::UlcerIndex;
|
2026-05-22 18:02:44 +02:00
|
|
|
pub use ultimate_oscillator::UltimateOscillator;
|
2026-05-22 20:57:52 +02:00
|
|
|
pub use vertical_horizontal_filter::VerticalHorizontalFilter;
|
2026-05-25 15:01:14 +02:00
|
|
|
pub use vidya::Vidya;
|
2026-05-22 18:17:38 +02:00
|
|
|
pub use vortex::{Vortex, VortexOutput};
|
2026-05-22 18:38:21 +02:00
|
|
|
pub use vpt::VolumePriceTrend;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use vwap::{RollingVwap, Vwap};
|
2026-05-22 17:45:02 +02:00
|
|
|
pub use vwma::Vwma;
|
2026-05-22 19:52:04 +02:00
|
|
|
pub use weighted_close::WeightedClose;
|
2026-05-21 17:50:45 +02:00
|
|
|
pub use williams_r::WilliamsR;
|
|
|
|
|
pub use wma::Wma;
|
2026-05-22 21:06:36 +02:00
|
|
|
pub use z_score::ZScore;
|
2026-05-22 17:45:02 +02:00
|
|
|
pub use zlema::Zlema;
|