OPEN-SOURCE SCRIPT
High Time Frame (HTF) Swing Points

Identify and display swing highs and lows across multiple higher timeframes on a chart, overlaying horizontal lines and customizable labels at these swing points.
Timeframes
Swing Levels
Tags
Use Cases
Timeframes
- Five user-defined higher timeframes (default settings: 5-minute, 15-minute, 1-hour, 4-hour, and daily)
- Manually show/hide individual timeframes
- When chart’s timeframe is set higher than one of the five configured, the indicator will automatically hide it. This helps to prevent clutter when navigating between timeframes on the chart
Swing Levels
- Configure the line color, opacity, width and weather it’s solid/dotted/dashed
- Once swing levels are identified, the indicator will look for the chart candle where the line starts
- When price crosses the swing level, the line will be terminated
Tags
- Customize the tag text for each individual timeframe, using blank if a tag is not desired for that timeframe
- A tag text color can be set for all tags or base it on the line color
- Set tag text size based on: Auto, Tiny, Small, Normal, Large
- Choose how far to the right of the line the tag text should appear, as an integer representing the size of a candle
- Choose to clear the tag or leave it in place after price crosses a swing level
Use Cases
- Visualize key swing points from higher timeframes to identify potential reversal or breakout zones
- Identify possible low resistance liquidity run (LRLR) areas
- Use swing points for stop placement or as targets or draws on liquidity
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.