public NumericIndicator max(Indicator<Num> other) {
        return NumericIndicator.of(BinaryOperation.max(this, other));
    }
@Test
    public void max() {
        final NumericIndicator numericIndicator = NumericIndicator.of(cp1);

        final NumericIndicator staticOp = numericIndicator.max(5);
        assertNumEquals(5, staticOp.getValue(0));
        assertNumEquals(9, staticOp.getValue(8));

        final NumericIndicator dynamicOp = numericIndicator.max(ema);
        assertNumEquals(cp1.getValue(0).max(ema.getValue(0)), dynamicOp.getValue(0));
        assertNumEquals(cp1.getValue(8).max(ema.getValue(8)), dynamicOp.getValue(8));
    }