Fetching historical data using the Renko candlestick pattern