relative_strength
Return difference and price ratio of a series against a reference series
relative_strength
examples/site_showcase.rs// Return difference and price ratio of a series against a reference series
let mut indicator = build_pair_checked("relative_strength", ¶ms)?;
// The bars of the two series are paired by timestamp.
let outputs = run_pair_batch(indicator.as_mut(), &bars, &reference);Not yet verified: no independent second implementation yet.
It reads two series, the bars and a reference series, and the demo is one share; it is not drawn here.