OPEN-SOURCE SCRIPT
HTF C2 Sweeps & Candles (v6 Streamlined)

First and foremost, huge thanks and full credit to the original creator, wintonbanks, for the foundational logic and concept of this indicator. This script is a modified and optimized version of their excellent work. You can find the original, feature-rich indicator here: tradingview.com/script/Ns5AOZq2-HTF-Sweeps-PO3/.
This version has been published to offer a more streamlined, visually minimal experience while upgrading the backend to Pine Script v6.
Key Changes from the Original:
Pine Script v6: Upgraded the code to v6, including logic optimizations to prevent compiler warnings and improve performance.
Simplified Global Styling: Removed the individual timeframe line settings. Sweep lines are now controlled via a single "Global Styling" menu for a faster setup and cleaner settings panel.
Dynamic Sweep Labels: Added a custom labeling engine. Instead of drawing lines with side labels, this version dynamically calculates the center of active sweep lines and places clean, customizable labels (with background and text color options) directly on them.
Decluttered Chart: Completely removed the Previous High/Low lines, line extension toggles, and timeframe dots. This version focuses strictly on core sweeps and PO3 candles.
Custom Alert Sessions: Replaced the hardcoded London/New York session alert toggles with native Pine Script session inputs, allowing you to define your exact custom alert windows and timezones.
This version has been published to offer a more streamlined, visually minimal experience while upgrading the backend to Pine Script v6.
Key Changes from the Original:
Pine Script v6: Upgraded the code to v6, including logic optimizations to prevent compiler warnings and improve performance.
Simplified Global Styling: Removed the individual timeframe line settings. Sweep lines are now controlled via a single "Global Styling" menu for a faster setup and cleaner settings panel.
Dynamic Sweep Labels: Added a custom labeling engine. Instead of drawing lines with side labels, this version dynamically calculates the center of active sweep lines and places clean, customizable labels (with background and text color options) directly on them.
Decluttered Chart: Completely removed the Previous High/Low lines, line extension toggles, and timeframe dots. This version focuses strictly on core sweeps and PO3 candles.
Custom Alert Sessions: Replaced the hardcoded London/New York session alert toggles with native Pine Script session inputs, allowing you to define your exact custom alert windows and timezones.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。