There are built-in and published Pivot Point High Low indicators in Public Library. As far as I see none of them show the breaking candles or the trend.
with the closing price crossing over the previous / current pivot high A bearish breakOut can either indicate the progression of a lower high pattern or a trend reversal
with the closing price crossing under the previous / current pivot low A bullish breakOut can either indicate the progression of a higher low pattern or a trend reversal
This indicator can show the first breaking candle or all breaking candles . It Can also show The Breaking state (Trend) based on the last break.
Alert Mode is included, colour can be customised, Higher TimeFrame can be requested (it Can also cause repainting)
Inputs are optional as possible so have fun with it
Disclaimer: Scripts that I post publicly are experimental. They are not financial advices. Always backtest your ideas using your own methodologies.