PROTECTED SOURCE SCRIPT
Updated

High Low of Close Price

2 124
Calculates highs and lows of the close line.

A quick high/low is determined with 0 candles on the right hand side, so it updates quickly.
A "true" high/low is determined by having 2 candles on either side (5 total), and then seeing if the center is a high or low.
Release Notes
Removed override feature, useless legacy feature
Release Notes
Added a feature to also check if the close is high/low under full candle bodys
Release Notes
Fixed some of the logic!
Release Notes
Changed the name of Length to Expiration Length
Release Notes
Added a feature to require a minimum size now
Release Notes
Updated the colors
Added options for how to treat overlapping sections
Release Notes
Fixed "Keep most recent" it was backwards. Oops
Release Notes
Added Trend lines on the pivots
Release Notes
Changed logic
Release Notes
Updated some of the logic, and fixed issues.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.