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