OPEN-SOURCE SCRIPT
BOS + CHoCH by EV

This indicator is designed to identify market structure shifts through Break of Structure (BOS) and Change of Character (CHoCH) using confirmed swing highs and lows. It provides a clear and objective way to read price structure by distinguishing between continuation moves and genuine directional changes.
BOS events represent structural continuation, occurring when price breaks a previous swing level in the direction of the prevailing bias. CHoCH events highlight potential trend reversals, triggering when price breaks a key level against the current structural bias. This distinction allows traders to better contextualize momentum, trend strength, and possible regime changes.
All calculations are based on confirmed pivots, ensuring the indicator is fully non-repainting and reliable in live market conditions. Break confirmation can be evaluated using candle closes or wicks, depending on user preference, and optional level lines can be drawn to visualize the exact structure point that was broken.
BOS events represent structural continuation, occurring when price breaks a previous swing level in the direction of the prevailing bias. CHoCH events highlight potential trend reversals, triggering when price breaks a key level against the current structural bias. This distinction allows traders to better contextualize momentum, trend strength, and possible regime changes.
All calculations are based on confirmed pivots, ensuring the indicator is fully non-repainting and reliable in live market conditions. Break confirmation can be evaluated using candle closes or wicks, depending on user preference, and optional level lines can be drawn to visualize the exact structure point that was broken.
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.