OPEN-SOURCE SCRIPT

RigTrades Break of Structure (BOS)

984
Trend Tracking — compares each new swing high/low to the previous one. Higher highs + higher lows = uptrend. Lower highs + lower lows = downtrend.
BOS Signals:

🟢 Green arrow (below candle) — price closes above the last swing high while in a downtrend → bullish break of structure
🔴 Red arrow (above candle) — price closes below the last swing low while in an uptrend → bearish break of structure

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.