Hi,
The method you mentioned does indeed require some redundant parameters, this will be fixed for the next release, meanwhile you can use the universal IIndicators.calculateIndicator method to call the Price Channel Indicator, i.e.
Object[] pchannel = indicators.calculateIndicator(Instrument.EURUSD, Period.ONE_HOUR, new OfferSide[] {OfferSide.ASK}, "PCHANNEL",
new AppliedPrice[] {}, new Object[]{5}, shift);
Also, have a look at the following JForex Wiki article for more details:
https://www.dukascopy.com/wiki/index.php ... IndicatorsThe first output is max High and the second is min Low.
MIDPOINT indicator lets you select a price type for calculations (i.e. Close price or Open price), MIDPRICE uses bar high and bar low in its calculations.