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.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。