Join waitlist
Strategies / Momentum / Smoothed Trend Momentum Oscillator

Smoothed Trend Momentum Oscillator

Builds an oscillator from a moving average trend measure and a rate of change momentum measure, then smooths it. Buys when the smoothed value crosses above 30 and sells when it falls below -10.

MomentumLong onlyIntradaySilver30 min
n/aProfit factor
16,000Net profit USD
34.79%Win rate
753Trades
-13,128Max drawdown
21.25Avg trade

Best run of 41. Silver, 30 min, spread 2, from run sweeps:2026-10-04-SILVER-30m-opt.tsv:30.

Entry rules, long

  1. The oscillator is 0.6 times a trend score plus 0.4 times a momentum score, times 100, clamped to plus or minus 100

Exit rules

  1. No stop or target is set

Test conditions

PeriodUp to 2026-10-04
InstrumentSilver, 30 minutes
Spread2 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-04

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
SilverBest run30 minn/a 75334.7916,000 USD-13,128
USD/JPYDailyn/a 5938.981,069,290 USD-584,360
USD/JPY4 hoursn/a 14043.57420,020 USD-241,630
USD/JPY10 minn/a 38042.63117,230 USD-115,240
EUR/USDDailyn/a 5940.6856,961 USD-34,977
USD/JPY3 minn/a 19242.1951,900 USD-22,650
Nikkei 225Dailyn/a 6140.9835,162 USD-12,935
Nasdaq 100Dailyn/a 5957.6320,680 EUR-3,380
Nikkei 2251 hourn/a 41739.5717,085 USD-10,518
Silver10 minn/a 66336.9515,599 USD-7,832
Dow JonesDailyn/a 8445.2414,188 EUR-8,304
Nikkei 22510 minn/a 59540.5011,050 USD-6,798
Dow Jones4 hoursn/a 5152.9410,494 EUR-7,475
Silver2 minn/a 55440.979,990 USD-9,573
DAX 40Dailyn/a 7247.229,474 EUR-5,389
DAX 404 hoursn/a 15641.038,416 EUR-2,697
Nasdaq 1004 hoursn/a 16842.268,369 EUR-4,401
DAX 401 hourn/a 46341.047,088 EUR-3,705
Nikkei 2253 minn/a 45436.566,947 USD-6,664
GBP/USDDailyn/a 5745.616,843 USD-5,597
Nasdaq 1001 hourn/a 54938.986,621 EUR-3,900
US Crude OilDailyn/a 5843.106,154 EUR-5,673
Dow Jones1 hourn/a 15839.875,941 EUR-5,846
Dow Jones30 minn/a 26839.934,765 EUR-4,588
S&P 500Dailyn/a 7644.744,722 EUR-1,110
Nasdaq 1005 minn/a 44643.723,883 EUR-1,782
DAX 4030 minn/a 71739.473,874 EUR-3,045
GoldDailyn/a 6640.912,934 EUR-1,490
FTSE 1004 hoursn/a 12949.612,854 EUR-1,293
Gold30 minn/a 65142.702,532 EUR-789
Dow Jones5 minn/a 33640.182,439 EUR-2,047
Gold1 hourn/a 48041.251,816 EUR-895
S&P 5004 hoursn/a 16743.711,783 EUR-772
Gold15 minn/a 57640.801,631 EUR-464
Gold4 hoursn/a 15335.291,387 EUR-962
DAX 405 minn/a 32241.931,292 EUR-1,193
DAX 402 minn/a 21235.851,157 EUR-998
Gold10 minn/a 53140.111,076 EUR-510
Gold3 minn/a 42138.95858 EUR-255
Gold5 minn/a 48736.96731 EUR-395
Gold2 minn/a 37439.04567 EUR-333

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Smoothed Trend Momentum Oscillator
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Momentum
// Direction: Long only
// Timeframe tested: 30 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE osc = 0
ONCE oscsmooth = 0

wsum = 0
norm = 0
FOR myK = 0 TO 23 DO
    myW = exp(-1 * square(myK - 19) / (2 * 16))
    wsum = wsum + close[23 - myK] * myW
    norm = norm + myW
NEXT
alma = wsum / norm

volsum = summation[120](volume)

42 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

Standard Deviation
Read this firstKnown weaknesses2 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The maximum drawdown of 13,128 USD is large next to the net profit of 16,000 USD.

Questions

About this strategy

Can I run Smoothed Trend Momentum Oscillator 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 41 market and timeframe combinations. The best run by trade count was Silver, 30 minutes, with 753 trades.

How large was the drawdown?

The best run had a maximum drawdown of 13,128 USD at the tested position size, against a net result of 16,000 USD.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Herd Selling Band Reversal

Uses the same indicator.

1.32 PF · 5,101 trades

SMA Crossover With RSI Exit

Best run on the same market, Silver.

2.13 PF · 8,999 trades

ATR Momentum

Also a momentum strategy.

n/a PF · 15,021 trades

See how ProRealAlgos combines strategies like this into one automated portfolio.

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