OPEN-SOURCE SCRIPT
Fractal Pattern Analysis

Fractal Pattern Key Elements and How to Read Them
1. Williams Fractals (Triangle Markers)
Red Triangles Pointing Down: Bearish fractals - potential resistance points and selling opportunities
Green Triangles Pointing Up: Bullish fractals - potential support points and buying opportunities
When to Act: Look for bullish fractals forming during uptrends and bearish fractals during downtrends
2. Moving Averages
Yellow Line (20 EMA): Short-term trend
Blue Line (50 EMA): Medium-term trend
Red Line (200 EMA): Long-term trend
Interpretation: When shorter MAs cross above longer MAs, it's bullish; when they cross below, it's bearish
Key Signal: The alignment of all three MAs (stacked in order) confirms a strong trend
3. Background Color
Green Background: Uptrend (all MAs aligned bullishly)
Red Background: Downtrend (all MAs aligned bearishly)
Yellow Background: Sideways/neutral market (MAs not clearly aligned)
4. Market Structure Markers (Small Circles)
Green Circles: Higher highs and higher lows (bullish structure)
Red Circles: Lower highs and lower lows (bearish structure)
Pattern Recognition: Multiple green circles suggest continuing uptrend; multiple red circles suggest continuing downtrend
5. Reversal Diamonds ("Rev" Markers)
Yellow Diamonds: Potential trend reversal points
Usage: These mark where the current trend might be changing direction
Confirmation: Wait for price to close beyond the diamond before acting
6. Bollinger Bands (Blue Lines with Fill)
Middle Band: 20-period SMA
Upper/Lower Bands: Volatility channels
Signals: Price touching upper band in uptrend is strength; touching lower band in downtrend is weakness
Squeeze: When bands narrow, expect a volatility breakout soon
7. Status Table (Top Right)
Shows current trend, volume direction, and overall signal at a glance
"BUY" signal appears when multiple bullish conditions align
"SELL" signal appears when multiple bearish conditions align
1. Williams Fractals (Triangle Markers)
Red Triangles Pointing Down: Bearish fractals - potential resistance points and selling opportunities
Green Triangles Pointing Up: Bullish fractals - potential support points and buying opportunities
When to Act: Look for bullish fractals forming during uptrends and bearish fractals during downtrends
2. Moving Averages
Yellow Line (20 EMA): Short-term trend
Blue Line (50 EMA): Medium-term trend
Red Line (200 EMA): Long-term trend
Interpretation: When shorter MAs cross above longer MAs, it's bullish; when they cross below, it's bearish
Key Signal: The alignment of all three MAs (stacked in order) confirms a strong trend
3. Background Color
Green Background: Uptrend (all MAs aligned bullishly)
Red Background: Downtrend (all MAs aligned bearishly)
Yellow Background: Sideways/neutral market (MAs not clearly aligned)
4. Market Structure Markers (Small Circles)
Green Circles: Higher highs and higher lows (bullish structure)
Red Circles: Lower highs and lower lows (bearish structure)
Pattern Recognition: Multiple green circles suggest continuing uptrend; multiple red circles suggest continuing downtrend
5. Reversal Diamonds ("Rev" Markers)
Yellow Diamonds: Potential trend reversal points
Usage: These mark where the current trend might be changing direction
Confirmation: Wait for price to close beyond the diamond before acting
6. Bollinger Bands (Blue Lines with Fill)
Middle Band: 20-period SMA
Upper/Lower Bands: Volatility channels
Signals: Price touching upper band in uptrend is strength; touching lower band in downtrend is weakness
Squeeze: When bands narrow, expect a volatility breakout soon
7. Status Table (Top Right)
Shows current trend, volume direction, and overall signal at a glance
"BUY" signal appears when multiple bullish conditions align
"SELL" signal appears when multiple bearish conditions align
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.