Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Module: flow

Source: flow.rs

Money Flow Index (MFI) indicator. A volume-weighted momentum oscillator that uses price and volume to identify overbought/oversold conditions. [Mfi] tracks positive and negative money flow.

Structs

pub struct Mfi

#![allow(unused)]
fn main() {
pub struct Mfi {
    period: usize,
    typical_prev: Option < f64 >,
    pos_flow: RingVec,
    neg_flow: RingVec,
    count: usize,
};
}

pub struct VolumeDelta

#![allow(unused)]
fn main() {
pub struct VolumeDelta;;
}

pub struct Cvd

#![allow(unused)]
fn main() {
pub struct Cvd {
    cumulative: f64,
};
}

pub struct Obv

#![allow(unused)]
fn main() {
pub struct Obv {
    obv: f64,
    prev_close: Option < f64 >,
};
}

pub struct AccDist

#![allow(unused)]
fn main() {
pub struct AccDist {
    ad: f64,
};
}

pub struct Pmdi

#![allow(unused)]
fn main() {
pub struct Pmdi {
    value: f64,
    prev_data: Option < f64 >,
};
}

pub struct Nmdi

#![allow(unused)]
fn main() {
pub struct Nmdi {
    value: f64,
    prev_data: Option < f64 >,
};
}

pub struct AverageTradeSize

#![allow(unused)]
fn main() {
pub struct AverageTradeSize;;
}