Generating a candlestick plot