TJR's BOS strategy

This Break of Structure (BOS) Indicator helps you identify key market shifts by highlighting breaks in market structure. It uses price action to spot significant swing highs and swing lows and draws horizontal lines that extend to the right whenever a BOS occurs.
Features:
- Real-Time Updates: The indicator continuously updates in real time, marking BOS points as they occur.
BOS Lines:
- Bullish Break of Structure (BOS): Occurs when the price closes above a previously established high.
- Bearish Break of Structure (BOS): Occurs when the price closes below a previously established low.
- Customizable: Easily change the color and line length of the BOS markers to suit your charting preferences.
- Max Lines Control: Limit the number of BOS lines shown in both upward and downward directions to keep the chart clean.
- Visual Clarity: Lines are drawn directly on the high or low levels, marking clear BOS zones on the chart for easy identification.
How to Use:
- BOS Up: A bullish BOS is marked when the price closes above a previously marked high.
- BOS Down: A bearish BOS is marked when the price closes below a previously marked low.
- Trend Direction: This indicator can be particularly useful for traders following trend continuation or reversal strategies, as BOS points represent key areas where market sentiment shifts.
Custom Settings:
- Change the color of BOS lines for better visibility.
- Adjust the maximum number of BOS lines to display.
Break of Structure (BOS) Indicator: TJR Edition (improved version)
Identifies true market structure breaks using exact wick-to-wick price action. This professional-grade tool marks only valid BOS occurrences with surgical precision, following strict price action rules institutional traders use.
Key Features
🔹 Wick-Perfect Detection
Highs: Requires bullish candle → bearish candle sequence, marks absolute highest wick
Lows: Requires bearish candle → bullish candle sequence, marks absolute lowest wick
🔹 No Duplicate Signals
One BOS per trend direction (avoids false "continuation" marks)
Strict alternation: New bullish BOS only after bearish BOS, and vice versa
🔹 Clean Professional Visualization
Persistent historical BOS marks (last 500) with clear active structure lines
🔹 Pure Price Action Logic
No indicators or derivatives - only raw candle patterns
Matches how traders visually identify structure on naked charts
How It Works
✅ Bullish BOS = Close above highest wick of a bullish→bearish sequence
✅ Bearish BOS = Close below lowest wick of a bearish→bullish sequence
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Declinazione di responsabilità
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.