hello support,
i have some problem to use fractal on renko bar. i think i followed your wiki correctly (
https://www.dukascopy.com/wiki/#Indicato ... d_by_shift)
this is my code :
Object[] fractal = indicators.calculateIndicator(
feedDescriptor,
new OfferSide[]{OfferSide.BID},
"FRACTAL",
new AppliedPrice[]{AppliedPrice.CLOSE},
new Object[]{fractalPeriod},
1);
double Up = (Double) fractal[0], Down = (Double) fractal[1];
console.getOut().println("up" + Up + "down" + Down);
but the double Up and the double Down return NaN value.
where is my error please?
regards
eric