fvg_fill
Fair value gaps followed as zones until a later bar trades back into them: the number of open zones as valu…
fvg_fill
examples/site_showcase.rs// Fair value gaps followed as zones until a later bar trades back into them: the number of open zones as value, with created (1 bullish, -1 bearish gap on this bar), filled, open_bullish and open_bearish as extras
// Defaults of "fvg_fill" (see the indicator reference)
let params = HashMap::from([
("max_zones".to_string(), 20.0),
]);
let mut indicator = build_checked("fvg_fill", ¶ms)?;
for bar in &bars {
if let Some(output) = indicator.on_bar(bar) {
// output.value, output.extra[...], indicator.alerts()
}
}Not yet verified: no independent second implementation yet.