private static void RunTestIndicator(IndicatorBase <IndicatorDataPoint> indicator)
 {
     TestHelper.TestIndicator(indicator, "spy_t3.txt", "T3_5", (ind, expected) => Assert.AreEqual(expected, (double)ind.Current.Value, 2e-2));
 }
 private static void RunTestIndicator(BarIndicator indicator)
 {
     TestHelper.TestIndicator(indicator, "frama.txt", "Filt", (actual, expected) => {AssertResult(expected, actual.Current.Value);});
 }
        public void ResetsProperly()
        {
            var indicator = new T3MovingAverage(5, 1);

            TestHelper.TestIndicatorReset(indicator, "spy_t3.txt");
        }