Join waitlist
Strategies / Trend / KAMA Ten Bar Trend

KAMA Ten Bar Trend

The system buys when KAMA is above the highest of its previous 10 values and sells the long when KAMA is below the lowest of those values. It trades only long, with no stops or targets.

TrendLong onlySwingNasdaq 100Daily
3.13Profit factor
20,303Net profit EUR
42.48%Win rate
113Trades
-3,107Max drawdown
180Avg trade

Best run of 36. Nasdaq 100, Daily, spread 3, from run pf:2026-10-12-NAS100-D.tsv:18.

Entry rules, long

  1. The system enters only when no position is open.

Exit rules

  1. The long closes at market when KAMA is below the lowest of its previous 10 values.

Test conditions

PeriodUp to 2026-10-12
InstrumentNasdaq 100, 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
Nasdaq 100Best runDaily3.13 11342.4820,303 EUR-3,107
S&P 500Daily2.64 15036.004,775 EUR-779
Dow JonesDaily2.10 14134.7524,558 EUR-6,022
Nasdaq 1004 hours1.71 33339.9417,874 EUR-4,514
Gold1 hour1.39 1,18731.093,251 EUR-772
USD/JPYDailyn/a 12932.561,349,110 USD-541,220
USD/JPY30 minn/a 1,91129.09494,350 USD-198,050
USD/JPY10 minn/a 1,92929.29436,680 USD-136,290
USD/JPY1 hourn/a 1,40231.17396,040 USD-335,920
USD/JPY15 minn/a 1,92328.86371,520 USD-143,700
Nikkei 225Dailyn/a 10637.7455,025 USD-11,470
Nikkei 2251 hourn/a 1,04131.5118,474 USD-14,895
Nikkei 2254 hoursn/a 29732.6618,066 USD-14,728
DAX 40Dailyn/a 16036.8812,655 EUR-5,054
Dow Jones4 hoursn/a 10540.9512,459 EUR-7,245
US Crude OilDailyn/a 11337.1711,667 EUR-5,521
Nikkei 2252 minn/a 1,91428.5811,469 USD-9,725
Nasdaq 10030 minn/a 1,86830.5710,948 EUR-3,556
DAX 4030 minn/a 1,93330.5210,558 EUR-3,430
Nasdaq 10015 minn/a 1,91131.199,499 EUR-3,185
Nasdaq 1005 minn/a 1,86429.999,360 EUR-3,510
DAX 401 hourn/a 1,16431.879,186 EUR-4,248
Dow Jones1 hourn/a 42633.108,750 EUR-6,431
Dow Jones30 minn/a 78930.427,818 EUR-7,184
Brent CrudeDailyn/a 5740.357,516 EUR-6,444
Nasdaq 1001 hourn/a 1,25731.426,731 EUR-5,737
Nasdaq 10010 minn/a 1,90028.894,974 EUR-4,815
DAX 404 hoursn/a 34932.384,622 EUR-4,022
GoldDailyn/a 15633.333,077 EUR-1,157
S&P 5004 hoursn/a 33535.822,772 EUR-953
Gold30 minn/a 1,88528.442,055 EUR-1,256
Gold4 hoursn/a 33230.721,975 EUR-1,907
Gold10 minn/a 1,96826.171,541 EUR-822
Gold15 minn/a 1,94226.061,413 EUR-875
Gold5 minn/a 1,97128.111,241 EUR-867
Gold3 minn/a 2,03227.12657 EUR-535

Charts

Results by run

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

Above 1.0 made money, below 1.0 lost money.

The code

ProBuilder code, as tested

// ==============================================================
// KAMA Ten Bar Trend
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long only
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE kama = 0

fastest = 2 / (5 + 1)
slowest = 2 / (50 + 1)
change = ABS(close - close[10])
volat = summation[10](ABS(close - close[1]))

27 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

KAMA
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 KAMA Ten Bar Trend 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 36 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 3.13 over 113 trades.

How large was the drawdown?

The best run had a maximum drawdown of 3,106 EUR at the tested position size, against a net result of 20,302 EUR.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Adaptive Cloud Breakout

Uses the same indicator.

3.15 PF · 2,932 trades

Volatility Spike Regression Long

Best run on the same market, Nasdaq 100.

1.22 PF · 1,850 trades

200-Period Average Upside Crossover

Also a trend strategy.

3.10 PF · 189 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