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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.