extended_volume_profile
Full-bin price/volume profile with HVN/LVN/AVN classification, a delta profile, and zone formation
extended_volume_profile
examples/site_showcase.rs// Full-bin price/volume profile with HVN/LVN/AVN classification, a delta profile, and zone formation (use ExtendedVolumeProfileEngine::on_intrabar_group directly for intrabar-resolution distribution)
// Defaults of "extended_volume_profile" (see the indicator reference)
let params = HashMap::from([
("lookback".to_string(), 70.0),
("num_bins".to_string(), 30.0),
]);
let mut indicator = build_checked("extended_volume_profile", ¶ms)?;
for bar in &bars {
if let Some(output) = indicator.on_bar(bar) {
// output.value, output.extra[...], indicator.alerts()
}
}