When the candles do the retracement, the swing high / low is shown.
In this case the red candle is the up candle and the white candle is the down candle.
Let’s see….


When swing high formed, we can assume that the swing high point is the resistance line.
When swing low formed, the point is the support line .