public SuperTrendIndicator(final BarSeries series) {
        this(series, 10, 3d);
    }
@Test
    public void testSuperTrendIndicator() {
        SuperTrendIndicator superTrendIndicator = new SuperTrendIndicator(data);

        assertNumEquals(this.numOf(15.730621000000003), superTrendIndicator.getValue(4));
        assertNumEquals(this.numOf(17.602360938100002), superTrendIndicator.getValue(9));
        assertNumEquals(this.numOf(22.78938583966133), superTrendIndicator.getValue(14));
    }