My charts always gets some candlestick bars that are the wrong color. About 1 in 100 or so bullish candles go red and bearish candles go green.
Screenshot
I made a JsFiddle: https://jsfiddle.net/dqm3t78e/
The inputs below the chart are in order datetime, open, high, low, close (as you can see from the class names)
The error is visible on the 2023-1-14 23:00:00 candlestick, which is red, but it is bullish according to price data. (JsFiddle and screenshot above are two different charts - but same error)
You can see the error on my website as well.
rb.gy/rdnfs5
Lightweight Charts Version: 4.0
My charts always gets some candlestick bars that are the wrong color. About 1 in 100 or so bullish candles go red and bearish candles go green.
Screenshot
I made a JsFiddle: https://jsfiddle.net/dqm3t78e/ The inputs below the chart are in order datetime, open, high, low, close (as you can see from the class names) The error is visible on the 2023-1-14 23:00:00 candlestick, which is red, but it is bullish according to price data. (JsFiddle and screenshot above are two different charts - but same error)
You can see the error on my website as well. rb.gy/rdnfs5