OPEN-SOURCE SCRIPT
Smart Market Structure

🔹 What it does:
🔹 Goal:
To give traders a clearer picture of price action, so instead of staring at raw candles and second-guessing, you get structure + context instantly.
Source: reddit.com/r/TradingView/comments/1n4ycl8/free_indicator_smart_market_structure_latest/
- Detects swing highs & lows automatically
- Marks Break of Structure (BOS) and Market Structure Shifts (MSS) in real time
- Plots Order Blocks and auto-removes them if invalidated
- Colors candles by market structure bias (bullish / bearish)
- Comes with a built-in Dashboard showing:
- Last BOS & MSS direction
- Current trend bias
- Swings since last MSS
- Active Bullish/Bearish OB count
- A Trend Strength Meter to gauge momentum
🔹 Goal:
To give traders a clearer picture of price action, so instead of staring at raw candles and second-guessing, you get structure + context instantly.
Source: reddit.com/r/TradingView/comments/1n4ycl8/free_indicator_smart_market_structure_latest/
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.