ADLine

``` use tacommon::traits::Indicator; use adrs::ADLine;

let mut adline = ADLine::new(); let ad = adline.next([200f64, 100f64, 170f64, 10f64]); asserteq!(4f64, ad); let ad = adline.next([200f64, 100f64, 170f64, 10f64]); asserteq!(8f64, ad); adline.reset(); let ad = adline.next([200f64, 100f64, 170f64, 10f64]); asserteq!(4_f64, ad); ```

ADOscillator

``` use tacommon::traits::Indicator; use adrs::ADOscillator;

let mut adosc = ADOscillator::new(2, 5); asserteq!(adosc.next([82.15, 81.29, 81.59, 5653100.00, ]), None); asserteq!(adosc.next([81.89, 80.64, 81.06, 6447400.00, ]), None); asserteq!(adosc.next([83.03, 81.31, 82.87, 7690900.00, ]), None); asserteq!(adosc.next([83.30, 82.65, 83.00, 3831400.00, ]), None); asserteq!(adosc.next([83.85, 83.07, 83.61, 4455100.00, ]), Some(1900759.84734648)); asserteq!(adosc.next([83.90, 83.11, 83.15, 3798000.00, ]), Some(399262.0395204937)); asserteq!(adosc.next([83.33, 82.49, 82.84, 3936200.00, ]), Some(-241806.81544536876)); asserteq!(adosc.next([84.30, 82.30, 83.99, 4732000.00, ]), Some(757828.2868834068)); asserteq!(adosc.next([84.84, 84.15, 84.55, 4841300.00, ]), Some(1068830.2845185758)); asserteq!(adosc.next([85.00, 84.11, 84.36, 3915300.00, ]), Some(328526.2457354958)); asserteq!(adosc.next([85.90, 84.03, 85.53, 6830800.00, ]), Some(1466909.2959969565)); asserteq!(adosc.next([86.58, 85.39, 86.54, 6694100.00, ]), Some(3475262.2871407317)); asserteq!(adosc.next([86.98, 85.76, 86.89, 5293600.00, ]), Some(4653474.793312617)); asserteq!(adosc.next([88.00, 87.17, 87.77, 7985800.00, ]), Some(5067839.26497877)); asserteq!(adosc.next([87.87, 87.01, 87.29, 4807_900.00, ]), Some(3474675.6158188656)); ```