OPEN-SOURCE SCRIPT
Fractal Swing Levels

📊 Fractal Swing Levels — Indicator Description
Fractal Swing Levels is a lightweight, visual indicator that plots historical swing high and swing low reference levels using Williams Fractal logic. The indicator helps traders visually identify areas where price previously formed confirmed pivots. These levels can be used as contextual reference zones when analyzing price structure and market behavior.
🔍 What the Indicator Does
Detects confirmed swing highs and swing lows using a configurable fractal length. Draws horizontal levels at those swing points. Extends the levels to the right for ongoing visual reference. Limits the number of displayed levels to keep the chart clean
🎨 Visual Elements
Red lines represent historical swing high levels
Green lines represent historical swing low levels
These lines are drawn only after fractal confirmation and represent past price structure, not future projections.
⚙️ Settings Explained
Fractal Length : Controls how significant a swing must be to qualify as a level.
Higher values → fewer, more prominent levels
Lower values → more frequent levels
Max Levels Per Side : Limits how many swing high and swing low levels are displayed at one time, helping reduce chart clutter.
📈 How to Use
Use the levels as visual reference points for structure analysis. Combine with trend tools, moving averages, or other technical indicators. Useful across intraday, swing, and positional timeframes. This indicator is best used as a contextual aid, not as a standalone decision tool.
⚠️ Important Notes
This is a visual analysis tool only. It does not generate buy or sell signals. It does not predict future price movement. Levels are based solely on confirmed historical price data
🎯 Summary
Fractal Swing Levels provides a clean and minimal way to visualize historical swing structure on the chart, helping traders better understand where price has previously reacted.
Fractal Swing Levels is a lightweight, visual indicator that plots historical swing high and swing low reference levels using Williams Fractal logic. The indicator helps traders visually identify areas where price previously formed confirmed pivots. These levels can be used as contextual reference zones when analyzing price structure and market behavior.
🔍 What the Indicator Does
Detects confirmed swing highs and swing lows using a configurable fractal length. Draws horizontal levels at those swing points. Extends the levels to the right for ongoing visual reference. Limits the number of displayed levels to keep the chart clean
🎨 Visual Elements
Red lines represent historical swing high levels
Green lines represent historical swing low levels
These lines are drawn only after fractal confirmation and represent past price structure, not future projections.
⚙️ Settings Explained
Fractal Length : Controls how significant a swing must be to qualify as a level.
Higher values → fewer, more prominent levels
Lower values → more frequent levels
Max Levels Per Side : Limits how many swing high and swing low levels are displayed at one time, helping reduce chart clutter.
📈 How to Use
Use the levels as visual reference points for structure analysis. Combine with trend tools, moving averages, or other technical indicators. Useful across intraday, swing, and positional timeframes. This indicator is best used as a contextual aid, not as a standalone decision tool.
⚠️ Important Notes
This is a visual analysis tool only. It does not generate buy or sell signals. It does not predict future price movement. Levels are based solely on confirmed historical price data
🎯 Summary
Fractal Swing Levels provides a clean and minimal way to visualize historical swing structure on the chart, helping traders better understand where price has previously reacted.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.