Join waitlist
Strategies / Trend / T3 Line With ATR Trails

T3 Line With ATR Trails

Buys when the close is above two ATR trailing lines and above a Tillson T3 moving average. Exits when the bar midpoint drops more than 5% below the T3 line.

TrendLong onlySwingDAX 40Daily
n/aProfit factor
13,486Net profit EUR
48.98%Win rate
98Trades
-3,146Max drawdown
138Avg trade

Best run of 72. DAX 40, Daily, spread 3, from run sweeps:2026-10-12-DAX40-D-opt.tsv:56.

Entry rules, long

  1. The close is above the slow ATR trailing line, which uses ATR(5) with a factor of 5 on the median price.
  2. The close is above the fast ATR trailing line, which uses true range with a factor of 1 on the median price.
  3. Entries start after bar 160 and only when flat.

Exit rules

  1. The long closes when the median price falls more than 5% below the T3 line.

Test conditions

PeriodUp to 2026-10-12
InstrumentDAX 40, Daily
Spread3 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
DAX 40Best runDailyn/a 9848.9813,486 EUR-3,146
USD/JPY30 minn/a 1100.00769,130 USD-260,990
USD/JPY4 hoursn/a 250.00523,770 USD-481,360
USD/JPY1 hourn/a 1100.00512,180 USD-484,160
USD/JPY10 minn/a 1100.00482,120 USD-246,630
USD/JPY15 minn/a 1100.00464,320 USD-245,400
Nikkei 22530 minn/a 1442.8647,827 USD-15,768
Nikkei 22515 minn/a 366.6743,483 USD-13,715
Nikkei 2251 hourn/a 1650.0042,991 USD-16,953
Nikkei 225Dailyn/a 6546.1541,723 USD-11,628
Nikkei 22510 minn/a 2100.0038,241 USD-13,307
Nikkei 2254 hoursn/a 3138.7133,117 USD-12,410
Nikkei 2255 minn/a 250.0031,310 USD-13,417
Nikkei 2253 minn/a 1100.0030,880 USD-13,081
Dow JonesDailyn/a 6250.0030,422 EUR-5,326
Silver30 minn/a 4551.1130,185 USD-22,066
Silver5 minn/a 1250.0028,030 USD-22,183
Dow Jones4 hoursn/a 4100.0027,985 EUR-8,412
Nasdaq 10030 minn/a 862.5026,989 EUR-6,277
Nasdaq 1001 hourn/a 2065.0026,831 EUR-6,749
Silver15 minn/a 1741.1826,036 USD-25,976
Nikkei 2252 minn/a 1100.0025,846 USD-13,121
Nasdaq 10015 minn/a 450.0022,693 EUR-6,288
Nasdaq 1004 hoursn/a 3243.7522,685 EUR-8,909
Dow Jones30 minn/a 540.0022,506 EUR-10,380
Dow Jones15 minn/a 333.3321,434 EUR-12,896
DAX 404 hoursn/a 3455.8819,775 EUR-4,016
Dow Jones1 hourn/a 650.0017,845 EUR-11,797
Dow Jones10 minn/a 1100.0017,725 EUR-8,394
Nasdaq 10010 minn/a 2100.0017,135 EUR-6,298
DAX 4030 minn/a 1154.5516,998 EUR-6,065
DAX 401 hourn/a 1838.8916,638 EUR-5,493
Nasdaq 100Dailyn/a 7365.7516,407 EUR-3,646
Nikkei 2251 minn/a 1100.0015,967 USD-13,148
Dow Jones5 minn/a 1100.0014,253 EUR-8,419
Nasdaq 1005 minn/a 250.0013,593 EUR-5,755
DAX 4015 minn/a 540.0013,016 EUR-5,171
DAX 4010 minn/a 1100.0010,217 EUR-4,474
Brent CrudeDailyn/a 4546.679,725 EUR-7,250
Nasdaq 1003 minn/a 1100.008,899 EUR-5,786
DAX 405 minn/a 1100.008,663 EUR-4,463
Dow Jones3 minn/a 1100.007,742 EUR-7,639
Nasdaq 1001 minn/a 1100.007,198 EUR-3,760
Nasdaq 1002 minn/a 1100.007,179 EUR-3,756
Dow Jones2 minn/a 1100.006,378 EUR-5,676
S&P 50030 minn/a 757.146,124 EUR-1,497
S&P 5004 hoursn/a 2147.625,799 EUR-1,253
Dow Jones1 minn/a 1100.005,670 EUR-4,166
S&P 5001 hourn/a 1540.005,579 EUR-1,616
S&P 500Dailyn/a 5560.005,088 EUR-1,056
S&P 50015 minn/a 450.004,652 EUR-1,435
FTSE 1004 hoursn/a 2050.004,474 EUR-2,388
FTSE 100Dailyn/a 4656.524,402 EUR-3,312
FTSE 10030 minn/a 825.003,776 EUR-3,410
FTSE 10010 minn/a 1100.003,638 EUR-1,320
S&P 50010 minn/a 1100.003,637 EUR-1,323
Gold1 hourn/a 1154.553,622 EUR-1,542
Gold15 minn/a 250.003,227 EUR-1,458
FTSE 1005 minn/a 1100.003,115 EUR-1,320
S&P 5005 minn/a 1100.003,093 EUR-1,332
GoldDailyn/a 7440.543,035 EUR-983
Gold30 minn/a 333.333,003 EUR-1,720
FTSE 10015 minn/a 333.332,893 EUR-2,813
Gold4 hoursn/a 2748.152,733 EUR-2,183
DAX 401 minn/a 1100.002,451 EUR-1,831
Gold10 minn/a 333.332,143 EUR-1,903
Gold5 minn/a 250.002,017 EUR-1,831
FTSE 1003 minn/a 1100.001,930 EUR-1,372
S&P 5003 minn/a 1100.001,706 EUR-1,327
FTSE 1002 minn/a 1100.001,379 EUR-1,265
S&P 5002 minn/a 1100.001,314 EUR-699
S&P 5001 minn/a 1100.001,248 EUR-396

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// T3 Line With ATR Trails
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long only
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE tu = 0
ONCE td = 0
ONCE trend = 1
ONCE tuf = 0
ONCE tdf = 0
ONCE trendf = 1

myV = 0.72
ea = ExponentialAverage[25](close)
eb = ExponentialAverage[25](ea)
ec = ExponentialAverage[25](eb)
ed = ExponentialAverage[25](ec)
ee = ExponentialAverage[25](ed)
ef = ExponentialAverage[25](ee)
ca = -myV * myV * myV
cb = 3 * myV * myV + 3 * myV * myV * myV
cc = -6 * myV * myV - 3 * myV - 3 * myV * myV * myV
cd = 1 + 3 * myV + myV * myV * myV + 3 * myV * myV
tthree = ca * ef + cb * ee + cc * ed + cd * ec
tdn = tthree - tthree * 0.05

hl = MedianPrice

prevtu = tu
prevtd = td
up = hl - 5 * AverageTrueRange[5](close)
dn = hl + 5 * AverageTrueRange[5](close)

55 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

ATREMATrue Range
Read this firstKnown weaknesses3 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The best run has only 98 trades, which is a small sample to judge it on.
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.

Questions

About this strategy

Can I run T3 Line With ATR Trails 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 72 market and timeframe combinations. The best run by trade count was DAX 40, Daily, with 98 trades.

How large was the drawdown?

The best run had a maximum drawdown of 3,146 EUR at the tested position size, against a net result of 13,486 EUR.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Reversal Pattern With Chaikin Volatility

Uses the same indicator.

2.26 PF · 6,872 trades

Heikin Ashi Color Flip

Best run on the same market, DAX 40.

1.12 PF · 3,692 trades

ADX Filtered EMA Cross

Also a trend strategy.

1.15 PF · 607 trades

Want strategies that are already part of a live portfolio? Join the ProRealAlgos waitlist.

The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.

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