fixed minimum calculation bug in candle calculation