The script helps to identify imbalance trade candles on the chart.
Prices after a rip-up candle (color in gray, default) will often see subsequent prices backfilling the rip-up candle ie. prices after the rip-up imbalance will fall back down. The opposite is true for flush-down candles (color in purple, default). This indicator allows a quick seeing of which imbalance candle that not been backfilled yet and present opportunities in trading the stock with potential target price based on the imbalance candle.