OPEN-SOURCE SCRIPT
sh8dowFX Swing Detector

sh8dowFX Fib Swing Detector is a multi-timeframe market structure tool designed to automatically identify relevant swing points and map their position within a standardized Fibonacci-based dealing range.
The indicator provides a clean visual framework for evaluating where price is trading relative to established higher-timeframe swings, helping traders quickly distinguish between premium, equilibrium, and discount areas without manually redrawing Fibonacci ranges as market structure develops.
Features
- Automatic detection of relevant swing highs and swing lows
- Fibonacci-based dealing range visualization
- Automatic orientation based on the detected swing structure
- Optional swing-point symbols for quick visual reference
- Higher-timeframe information directly on the active chart
- Selectable reference timeframes:
- Daily
- 4H
- 1H
- 15m
- Designed for multi-timeframe analysis without unnecessarily cluttering the chart
- Automatically updates as new qualifying market structure develops
Higher-Timeframe Context
The detector can display swing information from selected higher timeframes while working on a lower-timeframe execution chart.
This makes it possible to maintain awareness of the broader dealing range without constantly switching between charts.
The Show Swing Symbols option controls the visual marking of detected swings, while Show HTF Information provides additional context regarding the active higher-timeframe structure.
Intended Use
The Fib Swing Detector is designed as a market-context and dealing-range tool, rather than a standalone entry system.
It can help traders evaluate:
Premium / Discount positioning • Equilibrium • Higher-timeframe context • Swing structure • Potential reaction areas • Price delivery within a defined range
The indicator does not generate buy or sell signals. Its purpose is to automate repetitive structural chart work while leaving directional bias, narrative, and execution decisions to the trader.
For educational and analytical purposes only. Not financial advice.
The indicator provides a clean visual framework for evaluating where price is trading relative to established higher-timeframe swings, helping traders quickly distinguish between premium, equilibrium, and discount areas without manually redrawing Fibonacci ranges as market structure develops.
Features
- Automatic detection of relevant swing highs and swing lows
- Fibonacci-based dealing range visualization
- Automatic orientation based on the detected swing structure
- Optional swing-point symbols for quick visual reference
- Higher-timeframe information directly on the active chart
- Selectable reference timeframes:
- Daily
- 4H
- 1H
- 15m
- Designed for multi-timeframe analysis without unnecessarily cluttering the chart
- Automatically updates as new qualifying market structure develops
Higher-Timeframe Context
The detector can display swing information from selected higher timeframes while working on a lower-timeframe execution chart.
This makes it possible to maintain awareness of the broader dealing range without constantly switching between charts.
The Show Swing Symbols option controls the visual marking of detected swings, while Show HTF Information provides additional context regarding the active higher-timeframe structure.
Intended Use
The Fib Swing Detector is designed as a market-context and dealing-range tool, rather than a standalone entry system.
It can help traders evaluate:
Premium / Discount positioning • Equilibrium • Higher-timeframe context • Swing structure • Potential reaction areas • Price delivery within a defined range
The indicator does not generate buy or sell signals. Its purpose is to automate repetitive structural chart work while leaving directional bias, narrative, and execution decisions to the trader.
For educational and analytical purposes only. Not financial advice.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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ã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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.