Fix candlestick UP state detection