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
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。