The strategy trades TRIX zero crosses in the direction of the 200-period EMA, but only when the market is trending. It buys when TRIX crosses above 0, sells short when it crosses below, and uses ATR(7) based stops and targets.
Best run of 6. DAX 40, Daily, spread 3, from run pf:2026-10-05-DAX40-D.tsv:2.
| Period | Up to 2026-10-05 |
| Instrument | DAX 40, Daily |
| Spread | 3 points |
| Starting capital | 1,000,000 |
| Costs | Spread only. Commissions and overnight financing are not included. |
| Bars | Up to 200,000 bars, fewer where the instrument has less history |
| Last tested | 2026-10-05 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| DAX 40Best run | Daily | 1.66 | 196 | 39.29 | 4,679 EUR | -1,167 |
| Dow Jones | 4 hours | n/a | 123 | 47.15 | 4,179 EUR | -1,748 |
| Dow Jones | Daily | n/a | 118 | 49.15 | 3,738 EUR | -2,158 |
| Nasdaq 100 | Daily | n/a | 108 | 34.26 | 2,377 EUR | -1,149 |
| FTSE 100 | Daily | n/a | 148 | 47.97 | 1,961 EUR | -581 |
| S&P 500 | Daily | n/a | 151 | 43.71 | 440 EUR | -219 |
Charts
The code
// ============================================================== // TRIX Zero Cross Trend Filter // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false rangehl = highest[14](high) - lowest[14](low) trsum = summation[14](TR(close)) chop = 0
32 more lines: the entry and exit rules.
Setup
DAX 40 had no history beyond the standard run, so both runs used 14,000 bars.
| Bars available | 14,000 |
| Net, standard 200,000-bar run | 4,679.40 EUR |
| Net, long run | 4,679.40 EUR |
| Net on the older data alone | 0.00 EUR |
Questions
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.
It was tested on 6 market and timeframe combinations. The best run was DAX 40, Daily, with a profit factor of 1.66 over 196 trades.
The best run had a maximum drawdown of 1,167 EUR at the tested position size, against a net result of 4,679 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.