Join waitlist
Strategies / Momentum / RSI MACD Histogram Filter

RSI MACD Histogram Filter

Buys 1 contract when the 14 period RSI is below 30 and the MACD line is above its signal line. Sells the long when the RSI is above 70 and the MACD line is below its signal line.

MomentumLong onlyIntradayNasdaq 10030 min
n/aProfit factor
11,363Net profit EUR
71.84%Win rate
103Trades
-4,266Max drawdown
110Avg trade

Best run of 57. Nasdaq 100, 30 min, spread 3, from run sweeps:2026-10-03-NAS100-30m-opt.tsv:63.

Entry rules, long

  1. The MACD line (24, 52, 18) is above its 18 period EMA signal line.

Exit rules

  1. The MACD line is below its 18 period EMA signal line, closing the long.

Test conditions

PeriodUp to 2026-10-03
InstrumentNasdaq 100, 30 minutes
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-04

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Nasdaq 100Best run30 minn/a 10371.8411,363 EUR-4,266
USD/JPY15 minn/a 7068.57289,460 USD-208,960
USD/JPY30 minn/a 6181.97221,970 USD-215,180
USD/JPY2 minn/a 2958.6271,110 USD-51,940
Nikkei 22530 minn/a 6269.3541,035 USD-10,763
Nikkei 22510 minn/a 7568.0024,581 USD-10,943
Nikkei 2253 minn/a 5868.9720,929 USD-6,320
Nikkei 2251 hourn/a 2369.5720,329 USD-7,886
Nikkei 22515 minn/a 8365.0619,360 USD-11,671
Nikkei 2255 minn/a 5868.9717,721 USD-12,448
Silver3 minn/a 3669.4415,685 USD-14,241
Dow Jones1 hourn/a 2070.0015,298 EUR-9,535
SilverDailyn/a 250.0014,909 USD-7,543
Dow Jones5 minn/a 5074.0014,362 EUR-4,428
Nikkei 2252 minn/a 5662.5014,322 USD-7,125
Dow Jones15 minn/a 7169.0112,452 EUR-10,360
Nasdaq 1001 hourn/a 4983.6711,747 EUR-3,772
Dow Jones3 minn/a 4772.3410,635 EUR-6,240
Silver4 hoursn/a 1266.6710,366 USD-7,924
Nasdaq 1005 minn/a 6873.5310,251 EUR-6,454
Nikkei 2254 hoursn/a 4100.0010,214 USD-5,032
Brent Crude4 hoursn/a 6100.0010,097 EUR-4,261
Nasdaq 10010 minn/a 8967.429,135 EUR-4,882
Nasdaq 10015 minn/a 10266.678,949 EUR-5,071
DAX 4030 minn/a 9169.238,247 EUR-4,993
Brent CrudeDailyn/a 3100.007,646 EUR-4,139
Dow Jones10 minn/a 7061.437,259 EUR-6,550
Nasdaq 1002 minn/a 4669.576,263 EUR-2,277
DAX 4010 minn/a 6160.666,251 EUR-3,013
Nasdaq 1003 minn/a 5461.116,116 EUR-4,610
Dow Jones2 minn/a 4355.816,001 EUR-3,520
Brent Crude10 minn/a 6864.715,414 EUR-4,707
Brent Crude5 minn/a 6569.235,099 EUR-2,098
Brent Crude3 minn/a 5754.394,948 EUR-2,319
Dow Jones4 hoursn/a 2100.004,884 EUR-3,592
GoldDailyn/a 2100.004,189 EUR-857
FTSE 1001 hourn/a 3680.564,172 EUR-3,135
US Crude Oil10 minn/a 7460.813,942 EUR-3,204
FTSE 10030 minn/a 7475.683,825 EUR-2,600
S&P 50030 minn/a 8177.783,605 EUR-1,063
US Crude Oil2 minn/a 3652.783,432 EUR-2,616
US Crude Oil1 minn/a 3151.613,351 EUR-1,479
Nasdaq 1004 hoursn/a 887.503,262 EUR-2,995
Gold15 minn/a 6369.843,222 EUR-735
S&P 50015 minn/a 8670.932,698 EUR-1,124
Nasdaq 1001 minn/a 3764.862,640 EUR-1,874
FTSE 10010 minn/a 6567.692,527 EUR-929
S&P 5001 hourn/a 4379.072,386 EUR-1,058
S&P 5005 minn/a 5066.002,317 EUR-896
FTSE 1005 minn/a 4875.001,610 EUR-1,605
Gold10 minn/a 5358.491,209 EUR-501
S&P 50010 minn/a 6761.191,161 EUR-1,140
S&P 5003 minn/a 3976.921,106 EUR-850
S&P 5002 minn/a 3772.971,054 EUR-442
FTSE 1001 minn/a 3868.42809 EUR-495
Gold1 hourn/a 4678.26774 EUR-380
S&P 5001 minn/a 2171.43338 EUR-315

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// RSI MACD Histogram Filter
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Momentum
// Direction: Long only
// Timeframe tested: 30 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

myMacd = MACDLine[24,52,18](close)
signal = ExponentialAverage[18](myMacd)
myRsi = RSI[14](close)

9 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

EMAMACDRSI
Read this firstKnown weaknesses2 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.

Questions

About this strategy

Can I run RSI MACD Histogram Filter 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 57 market and timeframe combinations. The best run by trade count was Nasdaq 100, 30 minutes, with 103 trades.

How large was the drawdown?

The best run had a maximum drawdown of 4,266 EUR at the tested position size, against a net result of 11,362 EUR.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Trend Surfer

Uses the same indicator.

1.04 PF · 10,813 trades

Volatility Spike Regression Long

Best run on the same market, Nasdaq 100.

1.22 PF · 1,850 trades

ATR Momentum

Also a momentum strategy.

n/a PF · 15,021 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