OPEN-SOURCE SCRIPT
New Highs - Marker

Description:
Use this tool to quickly spot breakouts or double-top style patterns as they form.
- This indicator highlights every bar that sets a new high or matches the previous high.
- New Highs (ATH or Lookback Highs) are marked with a green triangle above the candle.
- Equal Highs (ties) are marked with an orange triangle above the candle.
- You can choose between All-Time Highs (lookback = 0) or rolling lookback highs over a user-defined number of bars.
- Alerts are included for both new highs and equal highs.
Use this tool to quickly spot breakouts or double-top style patterns as they form.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.