PROTECTED SOURCE SCRIPT
RF True Structure Engine PROD.

RF True Structure Engine is a clean market-structure tool built on Williams fractals to map the current leg’s Strong/Weak Highs & Lows, detect BOS and MSS (Market Structure Shift / CHoCH), and optionally display a higher-timeframe structure overlay plus a multi-timeframe bias table.
It’s designed to be a “structure backbone” you can use for SMC/ICT-style workflows: mark structure, mark breaks, and trade toward/liquidity around the active leg levels.
What it plots on the chart
Fractal markers (triangles) for swing highs/lows (configurable with n)
Active structure levels
Strong High / Strong Low
Weak High / Weak Low (or “forming” when still developing)
Mid-line of the current leg (optional)
BOS / MSS event lines
BOS = continuation break (in-trend)
MSS = reversal break (trend shift)
Includes configurable history count so the chart doesn’t get cluttered
HTF structure overlay (visual-only)
Draws HTF top/bottom leg lines + optional HTF midline
Labels the HTF levels as Strong/Weak/forming
How to use it (simple workflow)
Set your fractal sensitivity
Fractal Periods (left/right) = n
Lower n = more swings, more signals
Higher n = cleaner structure, fewer signals
Trade from structure
In bullish bias:
Strong Low is your main “defended” level
Weak High is often the next liquidity objective
In bearish bias:
Strong High is your main “defended” level
Weak Low is often the next liquidity objective
Use the Mid-line as a quick premium/discount reference within the current leg.
Use BOS/MSS as your confirmation
BOS = structure continuation confirmation
MSS = structure shift confirmation (potential trend change)
MTF Structure (visual overlay)
In MTF Structure:
Enable Show HTF Structure
Set HTF Timeframe (common: 1H/4H/D depending on your execution TF)
This overlay is visual-only—it doesn’t change the base engine logic, it just lets you see HTF structure levels mapped onto your chart.
Bias Table (top-right)
The bias table displays the Bullish / Bearish / Neutral direction exported from this same structure engine across multiple timeframes you select (up to 5 + optional chart TF). It’s a fast way to confirm alignment (ex: 4H bearish + 15m bearish before short setups).
Alerts (MSS)
This script supports confirmed MSS alerts (bar-close confirmed):
Use TradingView alert type: “Alertcondition” and pick Bullish MSS / Bearish MSS
Alert format (dynamic):
SOL 15M Bullish MSS
SOL 15M Bearish MSS
It’s designed to be a “structure backbone” you can use for SMC/ICT-style workflows: mark structure, mark breaks, and trade toward/liquidity around the active leg levels.
What it plots on the chart
Fractal markers (triangles) for swing highs/lows (configurable with n)
Active structure levels
Strong High / Strong Low
Weak High / Weak Low (or “forming” when still developing)
Mid-line of the current leg (optional)
BOS / MSS event lines
BOS = continuation break (in-trend)
MSS = reversal break (trend shift)
Includes configurable history count so the chart doesn’t get cluttered
HTF structure overlay (visual-only)
Draws HTF top/bottom leg lines + optional HTF midline
Labels the HTF levels as Strong/Weak/forming
How to use it (simple workflow)
Set your fractal sensitivity
Fractal Periods (left/right) = n
Lower n = more swings, more signals
Higher n = cleaner structure, fewer signals
Trade from structure
In bullish bias:
Strong Low is your main “defended” level
Weak High is often the next liquidity objective
In bearish bias:
Strong High is your main “defended” level
Weak Low is often the next liquidity objective
Use the Mid-line as a quick premium/discount reference within the current leg.
Use BOS/MSS as your confirmation
BOS = structure continuation confirmation
MSS = structure shift confirmation (potential trend change)
MTF Structure (visual overlay)
In MTF Structure:
Enable Show HTF Structure
Set HTF Timeframe (common: 1H/4H/D depending on your execution TF)
This overlay is visual-only—it doesn’t change the base engine logic, it just lets you see HTF structure levels mapped onto your chart.
Bias Table (top-right)
The bias table displays the Bullish / Bearish / Neutral direction exported from this same structure engine across multiple timeframes you select (up to 5 + optional chart TF). It’s a fast way to confirm alignment (ex: 4H bearish + 15m bearish before short setups).
Alerts (MSS)
This script supports confirmed MSS alerts (bar-close confirmed):
Use TradingView alert type: “Alertcondition” and pick Bullish MSS / Bearish MSS
Alert format (dynamic):
SOL 15M Bullish MSS
SOL 15M Bearish MSS
Skrip terproteksi
Skrip ini diterbitkan sebagai sumber tertutup. Namun, Anda dapat menggunakannya dengan bebas dan tanpa batasan apa pun – pelajari lebih lanjut di sini.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip terproteksi
Skrip ini diterbitkan sebagai sumber tertutup. Namun, Anda dapat menggunakannya dengan bebas dan tanpa batasan apa pun – pelajari lebih lanjut di sini.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.