Join waitlist
Strategies / Trend / T3 Trailing Band Williams Filter

T3 Trailing Band Williams Filter

The system buys when a Tillson T3 average of close moves above a trailing band and Williams %R(3) is above -20. It closes the long when T3 falls below the lower band and Williams %R is below -70.

TrendLong onlySwingS&P 5001 hour
1.99Profit factor
4,648Net profit EUR
39.04%Win rate
146Trades
-1,121Max drawdown
31.84Avg trade

Best run of 48. S&P 500, 1 hour, spread 1, from run pf:2026-10-12-USA500-1h.tsv:4.

Entry rules, long

  1. Williams %R(3) is above -20.

Exit rules

  1. T3 is below the lower trailing band (trailing line times 0.994) and Williams %R(3) is below -70.

Test conditions

PeriodUp to 2026-10-12
InstrumentS&P 500, 1 hour
Spread1 points
Starting capital1,000,000
CostsSpread only. Commissions and overnight financing are not included.
BarsUp to 200,000 bars, fewer where the instrument has less history
Last tested2026-10-12

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
S&P 500Best run1 hour1.99 14639.044,648 EUR-1,121
USD/JPY4 hoursn/a 3243.75360,310 USD-348,620
EUR/USD1 hourn/a 1172.7370,921 USD-41,560
EUR/USD4 hoursn/a 3644.4470,130 USD-32,620
Nikkei 225Dailyn/a 24742.9138,212 USD-12,245
Nikkei 2253 minn/a 475.0035,327 USD-13,081
Silver4 hoursn/a 39041.0335,148 USD-14,373
Nikkei 22515 minn/a 5044.0028,689 USD-14,651
Nikkei 22530 minn/a 9639.5825,483 USD-11,646
Nikkei 22510 minn/a 1752.9424,051 USD-9,194
Silver3 minn/a 5244.2322,739 USD-15,814
Nikkei 2252 minn/a 1100.0022,616 USD-13,121
Nikkei 2255 minn/a 1163.6422,539 USD-13,498
Silver10 minn/a 9354.8418,512 USD-12,443
Dow JonesDailyn/a 28638.8117,769 EUR-8,835
Dow Jones30 minn/a 3647.2217,741 EUR-8,932
DAX 4015 minn/a 3650.0015,660 EUR-4,118
Dow Jones1 hourn/a 3941.0315,466 EUR-6,514
Nasdaq 100Dailyn/a 26241.6014,822 EUR-5,372
Silver5 minn/a 6442.1913,641 USD-11,685
Nasdaq 1004 hoursn/a 26141.0013,075 EUR-5,642
Nasdaq 1001 hourn/a 23141.1312,681 EUR-5,161
DAX 40Dailyn/a 32744.3412,468 EUR-4,222
Dow Jones5 minn/a 250.0010,878 EUR-5,661
Dow Jones4 hoursn/a 5040.0010,564 EUR-7,308
Nasdaq 1005 minn/a 650.0010,545 EUR-4,089
Dow Jones3 minn/a 366.6710,056 EUR-5,673
Dow Jones10 minn/a 650.009,245 EUR-5,645
Nasdaq 10030 minn/a 13137.409,203 EUR-4,949
Nasdaq 10015 minn/a 6339.688,508 EUR-6,218
Nasdaq 1002 minn/a 1100.006,336 EUR-3,756
Nasdaq 1003 minn/a 560.005,507 EUR-3,758
DAX 403 minn/a 2100.005,043 EUR-3,630
S&P 50030 minn/a 8339.763,831 EUR-1,282
DAX 405 minn/a 3100.003,324 EUR-1,841
FTSE 10030 minn/a 5244.232,996 EUR-2,472
S&P 50015 minn/a 4045.002,983 EUR-1,544
S&P 500Dailyn/a 29737.372,795 EUR-1,015
FTSE 1003 minn/a 1100.002,661 EUR-1,262
FTSE 1005 minn/a 1100.002,638 EUR-1,260
S&P 5004 hoursn/a 17738.982,561 EUR-1,024
S&P 5005 minn/a 333.332,484 EUR-694
S&P 50010 minn/a 1241.672,464 EUR-857
DAX 402 minn/a 1100.002,198 EUR-1,831
GoldDailyn/a 25040.002,193 EUR-1,344
Gold4 hoursn/a 16346.011,920 EUR-1,055
S&P 5002 minn/a 1100.001,187 EUR-699
Gold1 hourn/a 9646.88907 EUR-852

Charts

Results by run

Top 10 of 48 runs. The full list is in the table above.

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// T3 Trailing Band Williams Filter
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long only
// Timeframe tested: 1 hour
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE var = 0
ONCE varinit = 0
ONCE ls = 0
ONCE ss = 0
ONCE dir = 1
ONCE ottinit = 0

opt = 0.1
ea = ExponentialAverage[5](close)
eb = ExponentialAverage[5](ea)
ec = ExponentialAverage[5](eb)
ed = ExponentialAverage[5](ec)
ca = -opt * opt * opt
cb = 3 * opt * opt + 3 * opt * opt * opt
cc = -6 * opt * opt - 3 * opt - 3 * opt * opt * opt
cd = 1 + 3 * opt + opt * opt * opt + 3 * opt * opt
tt = ca * ed + cb * ec + cc * eb + cd * ea

valpha = 2 / (5 + 1)
vud = max(close - close[1], 0)
vdd = max(close[1] - close, 0)

73 more lines: the entry and exit rules.

Setup

How to load it

  1. Copy the code with the copy button on the code block.
  2. In ProRealTime, open a chart of the instrument and timeframe you want to test, then open ProOrder > New trading system and choose "Create with programming".
  3. Paste the code, give the system a name and save it.
  4. Click "Backtest", set your own spread and position size, and run it before you consider trading it live.

Indicators used

Williams %R
Read this firstKnown weaknesses2 points
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.
  • Results include the spread only. Commissions and overnight financing are not included.

Questions

About this strategy

Can I run T3 Trailing Band Williams Filter in ProOrder?

Yes. The code is ProBuilder and runs as an automated ProOrder system. Backtest it on your own account with your own spread and position size before trading it live.

Which markets was it tested on?

It was tested on 48 market and timeframe combinations. The best run was S&P 500, 1 hour, with a profit factor of 1.99 over 146 trades.

How large was the drawdown?

The best run had a maximum drawdown of 1,121 EUR at the tested position size, against a net result of 4,648 EUR.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Oversold Mean Reversion Long

Uses the same indicator.

1.73 PF · 833 trades

CCI Sign With EMA Alignment

Best run on the same market, S&P 500.

1.23 PF · 1,253 trades

Asymmetric Aroon Crossover Long

Also a trend strategy.

1.99 PF · 345 trades

Get the full rules, the complete code and the ProRealAlgos portfolio as a member.

Copy trading on US indices is available to ProRealAlgos members as spots open.

Past backtest results do not guarantee future results. This is not financial advice. Curated and maintained by ProRealAlgos. ProRealTime™ is a trademark of ProRealTime SAS. prorealalgos.comStatsDocs