kestrel-chartkitv0.49.0

← All examples

kestrel_multi_factor

Kestrel Multi-Factor Composite Market Score

kestrel_multi_factor

examples/site_showcase.rs
// Kestrel Multi-Factor Composite Market Score
// Defaults of "kestrel_multi_factor" (see the indicator reference)
let params = HashMap::from([
    ("period".to_string(), 14.0),
]);
let mut indicator = build_checked("kestrel_multi_factor", &params)?;

for bar in &bars {
    if let Some(output) = indicator.on_bar(bar) {
        // output.value, output.extra[...], indicator.alerts()
    }
}
Kestrel Multi-Factor Composite Market Score. 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.Kestrel Multi-Factor Composite Market Score. 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.
  • Composite read-outs, part 2
  • unit: Ratio