kestrel-chartkitv0.33.0

← All examples

eom

Ease of Movement

eom

examples/site_showcase.rs
// Ease of Movement
// Defaults of "eom" (see the indicator reference)
let params = HashMap::from([
    ("period".to_string(), 14.0),
    ("volume_divisor".to_string(), 10000.0),
]);
let mut indicator = build_checked("eom", &params)?;

for bar in &bars {
    if let Some(output) = indicator.on_bar(bar) {
        // output.value, output.extra[...], indicator.alerts()
    }
}
Ease of Movement. Default parameters on synthetic 4-hour bars of a fictitious CASOON share (invented prices), the last 150 bars; 0 alerts in view, the latest as markers.Ease of Movement. Default parameters on synthetic 4-hour bars of a fictitious CASOON share (invented prices), the last 150 bars; 0 alerts in view, the latest as markers.
  • Volume
  • unit: Unitless