kestrel-chartkitv0.41.0

Showcase

Every indicator of the catalog, drawn from what kestrel-chartkit computes: default parameters on synthetic 4-hour bars of a fictitious CASOON share with invented prices, the latest alerts as markers. chartlet does the drawing. Pick an indicator for its chart and the Rust call that builds it.

Regime and signals

Market regime

examples/site_showcase.rsDetail: Market regime →
let mut adx = build_checked("adx", &HashMap::new())?;
let mut atr = build_checked("atr", &HashMap::new())?;

for (i, bar) in bars.iter().enumerate() {
    let (Some(a), Some(t)) = (adx.on_bar(bar), atr.on_bar(bar)) else { continue };
    // The ATR indicator reports 100 * ATR / close; classify_regime expects the fraction.
    let regime = classify_regime(&bars[..=i], a.value, t.value / 100.0);
}
Market regime per bar · CASOON (fictitious) 4hSynthetic 4-hour candles of a fictitious CASOON share in four legs: up, sideways, down, sideways. classify_regime runs on every bar with ADX(14) and ATR(14); the band below the candles shows the regime, the lowest pane the ADX with the trend threshold of 20. The first bars have no regime yet: ADX and ATR are still warming up.Market regime per bar · CASOON (fictitious) 4h8090100110120130Price01Regime0204060801002026-01-052026-01-122026-01-192026-01-26ADXCASOON (fictitious) (hollow: rising, filled: falling)Bullish expansionBearish expansionTransitionADX 14trend threshold 20: 20trend threshold 20
  • classify_regime
  • adx
  • atr

Composite signal

examples/site_showcase.rsDetail: Composite signal →
let subscores = vec![
    score_indicator("macd", &macd_out, &macd.alerts()),
    score_indicator("vortex", &vortex_out, &vortex.alerts()),
    score_indicator("trend_quality", &tq_out, &tq.alerts()),
];
let regime = classify_regime(&bars[..=i], adx_out.value, atr_out.value / 100.0);
let signal = aggregate_subscores(subscores, None, regime, Vec::new(), Some(bar), atr_out.extra["raw"]);
// signal.trigger, signal.score, signal.permission
Composite signal · CASOON (fictitious) 4hMACD, Vortex and Trend Quality scored on every bar and weighed against the market regime, on synthetic 4-hour candles of a fictitious CASOON share. The lower pane shows the composite score; a marker shows where a Buy or Sell trigger starts, labelled with the score. Only a ClearToTrade grade produces a trigger, so a direction against the regime stays silent.Composite signal · CASOON (fictitious) 4h8090100110120130Price−1.0−0.50.00.51.02026-01-052026-01-122026-01-192026-01-26ScoreCASOON (fictitious) (hollow: rising, filled: falling)composite scoreBuy +0.58: 2026-01-10 08:00, 112.61Sell -0.45: 2026-01-15 08:00, 116.04Sell -0.40: 2026-01-26 04:00, 87.06Buy +0.58Sell -0.45Sell -0.400: 0.000
  • score_indicator
  • aggregate_subscores
  • classify_regime

Moving averages, bands and trend lines

Oscillators

Volatility and trend strength

Volume

Market structure and patterns

Composite read-outs, part 1

Composite read-outs, part 2