public SuperTrendUpperBandIndicator(final BarSeries barSeries) {
        this(barSeries, new ATRIndicator(barSeries, 10), 3d);
    }
@Test
    public void testSuperTrendUpperBandIndicator() {
        SuperTrendUpperBandIndicator superTrendUpperBandIndicator = new SuperTrendUpperBandIndicator(data);

        assertNumEquals(this.numOf(26.610999999999997), superTrendUpperBandIndicator.getValue(1));
        assertNumEquals(this.numOf(26.610999999999997), superTrendUpperBandIndicator.getValue(6));
        assertNumEquals(this.numOf(24.67820648851259), superTrendUpperBandIndicator.getValue(12));
    }