Reverted Changes to the original version of the candlesticks charting
logic.