OPEN-SOURCE SCRIPT

Structure Labels ( HH / HL / LH / LL )

374
Here’s a clean and efficient Pine Script (v5) code that automatically detects and labels Higher Highs (HH), Lower Highs (LH), Higher Lows (HL), and Lower Lows (LL) on your TradingView chart.

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.