When a pivot High or Pivot Low is found and confirmed, a box will be plotted on the open and close values of that pivot candle
You also have the ability to change the amount of candles the box stretches over as well as the colors of the bullish and bearish boxes
How To Use:-
Pivot points often provide Support and Resistance points on their own,
one way of marking up order blocks is by taking the pivot candle and marking that up as a resistance area where you could be looking for price to reverse
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.