hires_volume_flow
High-resolution volume flow with absorption detection
hires_volume_flow
examples/site_showcase.rs// High-resolution volume flow with absorption detection (OHLC-estimated via this registry entry point; use HiResVolumeFlowEngine::on_bar_with_aggressor/on_intrabar_group directly for direct aggressor/intrabar-delta resolution)
// Defaults of "hires_volume_flow" (see the indicator reference)
let params = HashMap::from([
("window_len".to_string(), 20.0),
]);
let mut indicator = build_checked("hires_volume_flow", ¶ms)?;
for bar in &bars {
if let Some(output) = indicator.on_bar(bar) {
// output.value, output.extra[...], indicator.alerts()
}
}