The strategy buys when the moving averages stack upward, Laguerre RSI is above 80, and ADX is above 20. It sells short on the mirror conditions and exits when the 16 and 48-period EMAs cross.
Best run of 17. EUR/USD, Daily, spread 1, from run pf:2026-10-12-EURUSD-D.tsv:6.
| Period | Up to 2026-10-12 |
| Instrument | EUR/USD, Daily |
| Spread | 1 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-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| EUR/USDBest run | Daily | 2.29 | 121 | 49.59 | 170,286 USD | -34,076 |
| USD/JPY | Daily | 1.89 | 129 | 41.86 | 1,809,490 USD | -420,550 |
| USD/JPY | 10 min | n/a | 1,921 | 34.15 | 447,790 USD | -175,110 |
| USD/JPY | 30 min | n/a | 1,926 | 35.62 | 443,510 USD | -200,650 |
| EUR/USD | 4 hours | n/a | 458 | 36.24 | 60,243 USD | -31,227 |
| Nikkei 225 | Daily | n/a | 100 | 39.00 | 40,241 USD | -17,696 |
| Silver | 30 min | n/a | 1,972 | 30.98 | 29,846 USD | -22,567 |
| GBP/USD | Daily | n/a | 133 | 40.60 | 14,707 USD | -7,199 |
| Nasdaq 100 | Daily | n/a | 98 | 45.92 | 11,552 EUR | -3,470 |
| US Crude Oil | Daily | n/a | 115 | 33.04 | 9,573 EUR | -7,517 |
| Brent Crude | Daily | n/a | 50 | 34.00 | 7,839 EUR | -5,558 |
| S&P 500 | Daily | n/a | 131 | 35.88 | 2,834 EUR | -1,140 |
| Gold | Daily | n/a | 128 | 46.09 | 2,638 EUR | -1,111 |
| Gold | 30 min | n/a | 1,943 | 33.81 | 2,141 EUR | -676 |
| Gold | 10 min | n/a | 1,980 | 31.16 | 2,049 EUR | -777 |
| Gold | 15 min | n/a | 1,963 | 31.69 | 1,569 EUR | -823 |
| Gold | 5 min | n/a | 1,986 | 30.56 | 1,474 EUR | -644 |
Charts
Top 10 of 17 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // Triple Moving Average Laguerre Filter // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE lzero = 0 ONCE lone = 0 ONCE ltwo = 0 ONCE lthree = 0 emafast = ExponentialAverage[16](close) emaslow = ExponentialAverage[48](close) smalong = Average[200](close) gamma = 0.8 pzero = lzero pone = lone ptwo = ltwo pthree = lthree lzero = (1 - gamma) * close + gamma * pzero lone = -gamma * lzero + pzero + gamma * pone ltwo = -gamma * lone + pone + gamma * ptwo lthree = -gamma * ltwo + ptwo + gamma * pthree cu = 0 cd = 0
40 more lines: the entry and exit rules.
Setup
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 17 market and timeframe combinations. The best run was EUR/USD, Daily, with a profit factor of 2.29 over 121 trades.
The best run had a maximum drawdown of 34,076 USD at the tested position size, against a net result of 170,286 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.