kestrel-chartkitv0.33.0

← All examples

kst

Know Sure Thing Oscillator

kst

examples/site_showcase.rs
// Know Sure Thing Oscillator
// Defaults of "kst" (see the indicator reference)
let params = HashMap::new();
let mut indicator = build_checked("kst", &params)?;

for bar in &bars {
    if let Some(output) = indicator.on_bar(bar) {
        // output.value, output.extra[...], indicator.alerts()
    }
}
Know Sure Thing Oscillator. Default parameters on synthetic 4-hour bars of a fictitious CASOON share (invented prices), the last 150 bars; 0 alerts in view, the latest as markers.Know Sure Thing Oscillator. Default parameters on synthetic 4-hour bars of a fictitious CASOON share (invented prices), the last 150 bars; 0 alerts in view, the latest as markers.
  • Oscillators
  • unit: Ratio