use finance_solution::stocks::ta::{supertrend_solution, SupertrendParams};
let n = 40usize;
let h: Vec<_> = (0..n).map(|i| 101.0 + i as f64 * 0.2).collect();
let l: Vec<_> = (0..n).map(|i| 99.0 + i as f64 * 0.2).collect();
let c: Vec<_> = (0..n).map(|i| 100.0 + i as f64 * 0.2).collect();
let sol = supertrend_solution(&h, &l, &c, SupertrendParams::standard()).unwrap();
assert!(sol.formula().contains("ATR"));