OPEN-SOURCE SCRIPT
Fractals Trend [BigBeluga]

🔵 OVERVIEW
Fractals Trend [BigBeluga] is a trend-following overlay that leverages fractal swing points to define dynamic support and resistance zones. By storing and averaging recent high and low fractals, it determines trend direction and plots a smooth band that flips depending on market bias—displaying support during uptrends and resistance during downtrends.
🔵 CONCEPTS
🔵 FEATURES
🔵 HOW TO USE
🔵 CONCLUSION
Fractals Trend [BigBeluga] offers a lightweight, intuitive way to track market bias using price structure alone. Its smart switching logic and clean visuals make it a powerful tool for trend traders seeking structure-based dynamic S/R—without laggy moving averages or overcomplicated signals.
Fractals Trend [BigBeluga] is a trend-following overlay that leverages fractal swing points to define dynamic support and resistance zones. By storing and averaging recent high and low fractals, it determines trend direction and plots a smooth band that flips depending on market bias—displaying support during uptrends and resistance during downtrends.
🔵 CONCEPTS
- Fractal Swings: Fractals are identified using a customizable length. A high fractal forms when the current high is the highest in a range; a low fractal when the current low is the lowest.
- Fractal Memory: The indicator keeps a rolling window of recent high and low fractals inside arrays, limited by the user-defined storage quantity.
Pine Script® switch upperF => FracrtalsUpper.push(high[fractalLen]) lowerF => FracrtalsLower.push(low[fractalLen]) FracrtalsUpper.size() > fCount => FracrtalsUpper.shift() FracrtalsLower.size() > fCount => FracrtalsLower.shift() - Trend Detection: Price crossing above the average, min/max or median high fractals signals an uptrend; crossing below average, min/max or median low fractals signals a downtrend.
- Dynamic Band Plotting: Depending on the trend, the script plots the average of either the upper or lower fractals as a trailing support or resistance line.
- Visual Confirmation: Fractal labels appear as triangle markers at highs and lows, providing additional structural context.
🔵 FEATURES
- Automatically detects high and low fractals using customizable length.
- Stores a defined number of fractals to smooth out noise and reduce false signals.
- Flips trend bias dynamically with colored band and smooth transitions.
- Plots fractal-based support in bullish trends, resistance in bearish trends.
- Triangle markers show real-time fractal highs and lows.
- Fully configurable visuals, color themes, and fractal detection logic.
- Clean, non-intrusive overlay that works on any market or timeframe.
🔵 HOW TO USE
- Use the colored band as a directional filter: green = uptrend (support), orange = downtrend (resistance).
- Combine with entry signals or break/retest strategies when price approaches the band.
- Use triangle markers to confirm structural swing points.
- Adjust Fractals Length to tune sensitivity—shorter values detect quicker shifts, longer values reduce noise.
- Change the fractal bands type to adapt trend detection to different market conditions.
- Use in conjunction with momentum or volume tools for confluence.
🔵 CONCLUSION
Fractals Trend [BigBeluga] offers a lightweight, intuitive way to track market bias using price structure alone. Its smart switching logic and clean visuals make it a powerful tool for trend traders seeking structure-based dynamic S/R—without laggy moving averages or overcomplicated signals.
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.
🔵Gain access to our powerful tools : bigbeluga.com/tv
🔵Join our free discord for updates : bigbeluga.com/discord
All scripts & content provided by BigBeluga are for informational & educational purposes only.
🔵Join our free discord for updates : bigbeluga.com/discord
All scripts & content provided by BigBeluga are for informational & educational purposes only.
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.
🔵Gain access to our powerful tools : bigbeluga.com/tv
🔵Join our free discord for updates : bigbeluga.com/discord
All scripts & content provided by BigBeluga are for informational & educational purposes only.
🔵Join our free discord for updates : bigbeluga.com/discord
All scripts & content provided by BigBeluga are for informational & educational purposes only.
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.