kestrel-chartkitv0.33.0

← All examples

alligator

Williams Alligator

alligator

examples/site_showcase.rs
// Williams Alligator (Jaw, Teeth, Lips)
// Defaults of "alligator" (see the indicator reference)
let params = HashMap::new();
let mut indicator = build_checked("alligator", &params)?;

for bar in &bars {
    if let Some(output) = indicator.on_bar(bar) {
        // output.value, output.extra[...], indicator.alerts()
    }
}
Williams Alligator (Jaw, Teeth, Lips). 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.Williams Alligator (Jaw, Teeth, Lips). 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.
  • Moving averages, bands and trend lines
  • unit: Price