ssl_channel
SSL channel: the SMA of the highs and of the lows, ordered by which side the close last broke out of
ssl_channel
examples/site_showcase.rs// SSL channel: the SMA of the highs and of the lows, ordered by which side the close last broke out of (extras `ssl_down`, `hlv`). `hlv` starts undecided instead of up and nothing is published until it is decided. Published from bar period.
// Defaults of "ssl_channel" (see the indicator reference)
let params = HashMap::from([
("period".to_string(), 10.0),
]);
let mut indicator = build_checked("ssl_channel", ¶ms)?;
for bar in &bars {
if let Some(output) = indicator.on_bar(bar) {
// output.value, output.extra[...], indicator.alerts()
}
}