Hi Support,
I'm testing a simple example of renko strategy (that I attached "TestRenko.java")
I would like that strategy printed the Open and Close values for the last 2 bars (bricks), updating values on new brick, but the strategy print always the same 4 values.
It seems that lines
brick = history.getRenkoBar(instrument, offerSide, PriceRange.valueOf(brickSize), 0);
brickPrevious = history.getRenkoBar(instrument, offerSide, PriceRange.valueOf(brickSize), 1);
are not update.
Could you help me ?
Best regards,
Frank