The system buys when KAMA(14, 2, 20) rises by more than the 14-bar standard deviation of its bar-to-bar change. It sells the long when KAMA falls by more than 0.5 times that standard deviation.
Best run of 20. Nasdaq 100, Daily, spread 3, from run pf:2026-10-12-NAS100-D.tsv:2.
| Period | Up to 2026-10-12 |
| Instrument | Nasdaq 100, 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-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | Daily | 1.92 | 210 | 43.33 | 16,214 EUR | -3,663 |
| Gold | 1 hour | 1.23 | 2,357 | 35.21 | 3,002 EUR | -598 |
| USD/JPY | 1 hour | 1.17 | 2,631 | 36.26 | 933,950 USD | -176,670 |
| USD/JPY | Daily | n/a | 252 | 39.68 | 765,930 USD | -559,650 |
| USD/JPY | 30 min | n/a | 3,758 | 34.17 | 432,530 USD | -184,870 |
| EUR/USD | Daily | n/a | 225 | 40.89 | 72,896 USD | -50,762 |
| Nikkei 225 | Daily | n/a | 219 | 41.55 | 40,373 USD | -13,193 |
| Nikkei 225 | 4 hours | n/a | 501 | 38.12 | 26,843 USD | -8,502 |
| Dow Jones | Daily | n/a | 277 | 42.96 | 23,626 EUR | -8,367 |
| Brent Crude | Daily | n/a | 91 | 41.76 | 11,481 EUR | -8,477 |
| DAX 40 | 30 min | n/a | 3,890 | 33.78 | 9,775 EUR | -4,032 |
| Dow Jones | 1 hour | n/a | 838 | 37.35 | 9,414 EUR | -8,166 |
| DAX 40 | 1 hour | n/a | 2,281 | 37.22 | 9,199 EUR | -4,011 |
| Nasdaq 100 | 4 hours | n/a | 610 | 40.00 | 7,994 EUR | -6,610 |
| DAX 40 | Daily | n/a | 296 | 43.92 | 7,722 EUR | -5,009 |
| Nasdaq 100 | 1 hour | n/a | 2,579 | 36.45 | 6,416 EUR | -4,923 |
| Gold | Daily | n/a | 248 | 37.10 | 3,394 EUR | -859 |
| S&P 500 | Daily | n/a | 294 | 39.12 | 2,870 EUR | -824 |
| Gold | 4 hours | n/a | 590 | 38.98 | 2,738 EUR | -1,422 |
| S&P 500 | 4 hours | n/a | 616 | 40.26 | 1,388 EUR | -1,325 |
Charts
Top 10 of 20 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // KAMA Standard Deviation Filter // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE kama = 0 mom = ABS(close - close[14]) volat = summation[14](ABS(close - close[1]))
25 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 20 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 1.92 over 210 trades.
The best run had a maximum drawdown of 3,663 EUR at the tested position size, against a net result of 16,214 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.