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.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.