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 de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
🔵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.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
🔵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.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.