PROTECTED SOURCE SCRIPT
(CHOCH & BOS)

Section: BOS ALERTS (HH / LL)
This section of the script is responsible for generating alerts based on the “Break of Structure” (BOS) in your market trend. BOS is usually a technical concept in swing trading or order flow analysis, indicating a shift in market structure:
HH (Higher High) → signals an uptrend continuation or bullish structure
LL (Lower Low) → signals a downtrend continuation or bearish structure
✅ In simple terms:
If the chart is showing an uptrend (aqua) and a Higher High is detected → you get a bullish alert.
If the chart is showing a downtrend (red) and a Lower Low is detected → you get a bearish alert.
The alerts are carefully synced with your trend background to reduce false signals.
This section of the script is responsible for generating alerts based on the “Break of Structure” (BOS) in your market trend. BOS is usually a technical concept in swing trading or order flow analysis, indicating a shift in market structure:
HH (Higher High) → signals an uptrend continuation or bullish structure
LL (Lower Low) → signals a downtrend continuation or bearish structure
✅ In simple terms:
If the chart is showing an uptrend (aqua) and a Higher High is detected → you get a bullish alert.
If the chart is showing a downtrend (red) and a Lower Low is detected → you get a bearish alert.
The alerts are carefully synced with your trend background to reduce false signals.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.