PROTECTED SOURCE SCRIPT
Smart Money OB + Limit Orders + Priority

Detects breaks of structure (BOS) using swing highs/lows and an ATR-filtered impulse bar.
Builds simple order-block based levels and plots theoretical limit orders:
Buy limits are always placed below current price.
Sell limits are always placed above current price.
Shows a higher-timeframe bias using EMAs on two selectable timeframes (for example H4 + H1).
Draws “HTF-style” trendlines on the current timeframe using wider swing points.
Calculates RSI and highlights overbought/oversold regions for context.
Draws an optional “accumulation zone” box around the nearest limit level.
Optional counter-trend status: when trend is not extremely strong and price/RSI are stretched, the script can visually suggest a possible counter-trend move towards the zone (dotted arrow).
Info panel in the top-right corner summarises:
Direction priority (long / short / none)
Limit side (BUY / SELL / none)
RSI value
Trend regime (no trend / weak / strong)
Counter-trend status
“Now” line – a short text description of the current situation.
Usage notes
This script is designed to make chart reading easier: it organises structure, bias and potential areas on the chart, so you can build your own trading plans.
It does not guarantee results and should not be considered financial advice.
Always confirm ideas with your own analysis and risk management before taking any trades.
Builds simple order-block based levels and plots theoretical limit orders:
Buy limits are always placed below current price.
Sell limits are always placed above current price.
Shows a higher-timeframe bias using EMAs on two selectable timeframes (for example H4 + H1).
Draws “HTF-style” trendlines on the current timeframe using wider swing points.
Calculates RSI and highlights overbought/oversold regions for context.
Draws an optional “accumulation zone” box around the nearest limit level.
Optional counter-trend status: when trend is not extremely strong and price/RSI are stretched, the script can visually suggest a possible counter-trend move towards the zone (dotted arrow).
Info panel in the top-right corner summarises:
Direction priority (long / short / none)
Limit side (BUY / SELL / none)
RSI value
Trend regime (no trend / weak / strong)
Counter-trend status
“Now” line – a short text description of the current situation.
Usage notes
This script is designed to make chart reading easier: it organises structure, bias and potential areas on the chart, so you can build your own trading plans.
It does not guarantee results and should not be considered financial advice.
Always confirm ideas with your own analysis and risk management before taking any trades.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.