multi_factor
Multi-Factor Composite Market Score
multi_factor
examples/site_showcase.rs// Multi-Factor Composite Market Score
// Defaults of "multi_factor" (see the indicator reference)
let params = HashMap::from([
("period".to_string(), 14.0),
]);
let mut indicator = build_checked("multi_factor", ¶ms)?;
for bar in &bars {
if let Some(output) = indicator.on_bar(bar) {
// output.value, output.extra[...], indicator.alerts()
}
}