OPEN-SOURCE SCRIPT
Williams EMA Pullback Signals [Confirmed]

Recommended Setup
Chart timeframe: 5 minutes
EMA lengths: 20, 50, and 100
Fractal Period: 2
Donchian Period: 20
Apply Donchian Filter: Enabled
Disable the Donchian Filter if you want signals closer to the standard Williams Fractals strategy shown in the video.
LONG Signal
A LONG signal appears only when:
EMA 20 is above EMA 50.
EMA 50 is above EMA 100.
Price pulls back from above and reaches or crosses EMA 20.
Price does not close below EMA 100.
A valid bullish Williams Fractal is confirmed after the pullback.
Only the first valid LONG signal is displayed for each pullback.
SHORT Signal
A SHORT signal appears only when:
EMA 20 is below EMA 50.
EMA 50 is below EMA 100.
Price rebounds from below and reaches or crosses EMA 20.
Price does not close above EMA 100.
A valid bearish Williams Fractal is confirmed after the rebound.
Only the first valid SHORT signal is displayed for each rebound.
Important Signal Timing
Williams Fractals require candles on both sides of the pivot before they can be confirmed. With the Fractal Period set to 2, the indicator must wait for two additional candles.
Therefore, LONG and SHORT signals appear on the actual confirmation candle instead of being placed backward on a historical candle. This prevents backdated or misleading real-time signals.
Alerts
To create an alert:
Click Create Alert in TradingView.
Select this indicator under Condition.
Choose either Williams EMA LONG or Williams EMA SHORT.
Select Once Per Bar Close.
Create the alert.
Notes
Signals are canceled if the EMA order becomes invalid.
A LONG setup is canceled if price closes at or below EMA 100.
A SHORT setup is canceled if price closes at or above EMA 100.
Raw Williams Fractal arrows are hidden. Only signals that satisfy the complete strategy are displayed.
This indicator identifies technical setups and does not guarantee profitable trades.
Chart timeframe: 5 minutes
EMA lengths: 20, 50, and 100
Fractal Period: 2
Donchian Period: 20
Apply Donchian Filter: Enabled
Disable the Donchian Filter if you want signals closer to the standard Williams Fractals strategy shown in the video.
LONG Signal
A LONG signal appears only when:
EMA 20 is above EMA 50.
EMA 50 is above EMA 100.
Price pulls back from above and reaches or crosses EMA 20.
Price does not close below EMA 100.
A valid bullish Williams Fractal is confirmed after the pullback.
Only the first valid LONG signal is displayed for each pullback.
SHORT Signal
A SHORT signal appears only when:
EMA 20 is below EMA 50.
EMA 50 is below EMA 100.
Price rebounds from below and reaches or crosses EMA 20.
Price does not close above EMA 100.
A valid bearish Williams Fractal is confirmed after the rebound.
Only the first valid SHORT signal is displayed for each rebound.
Important Signal Timing
Williams Fractals require candles on both sides of the pivot before they can be confirmed. With the Fractal Period set to 2, the indicator must wait for two additional candles.
Therefore, LONG and SHORT signals appear on the actual confirmation candle instead of being placed backward on a historical candle. This prevents backdated or misleading real-time signals.
Alerts
To create an alert:
Click Create Alert in TradingView.
Select this indicator under Condition.
Choose either Williams EMA LONG or Williams EMA SHORT.
Select Once Per Bar Close.
Create the alert.
Notes
Signals are canceled if the EMA order becomes invalid.
A LONG setup is canceled if price closes at or below EMA 100.
A SHORT setup is canceled if price closes at or above EMA 100.
Raw Williams Fractal arrows are hidden. Only signals that satisfy the complete strategy are displayed.
This indicator identifies technical setups and does not guarantee profitable trades.
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.