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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。