I've just tried to implement some Keltner magic, but I don't understand clearly the API solution. There is a Keltner method, which returns a double, I guess that's the blue line. There's an other, to which a "from" and a "to" argument should be given, but I don't know what are they...
I would need a solution, in which I only need to give a shift argument, and then get the 3 lines - top, mid, bottom - returned in an array. What "from" and "to" args should I need to get actual Keltner Channel?
Hello, thanks for your attentions. This is our bug, we will fix it ASAP. Meanwhile, you could use method calculateIndicator
Object[] objects = indicators.calculateIndicator(instrument, period, new OfferSide[]{OfferSide.BID}, "KELTNER", new AppliedPrice[]{AppliedPrice.CLOSE}, new Object[] {10}, 1);
for (Object o : objects) System.out.print((Double)o+", "); System.out.println();
Also you could find some usefull information here: