Join waitlist
Strategies / Trend / EMA Crossover With ATR Bracket (long only)

EMA Crossover With ATR Bracket (long only)

The strategy buys when the 16-period EMA crosses above the 30-period EMA while RSI is above 50. Each trade sets a stop 8 ATR below and a target 11 ATR above the entry, with no other exit.

TrendLong onlyIntradayS&P 50015 min
n/aProfit factor
2,816Net profit EUR
43.65%Win rate
724Trades
-1,322Max drawdown
3.89Avg trade

Best run of 48. S&P 500, 15 min, spread 1, from run sweeps:2026-10-10-USA500-15m-opt.tsv:9.

Entry rules, long

  1. The 9-period RSI is above 50.

Exit rules

  1. The target sits 11 times the 21-period ATR above the entry price.

Test conditions

PeriodUp to 2026-10-10
InstrumentS&P 500, 15 minutes
Spread1 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-11

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
S&P 500Best run15 minn/a 72443.652,816 EUR-1,322
Nikkei 2254 hoursn/a 5954.2443,733 USD-10,601
Dow JonesDailyn/a 4858.3330,391 EUR-9,559
Dow Jones4 hoursn/a 3652.7828,460 EUR-7,489
Nikkei 22510 minn/a 70842.3728,103 USD-11,576
Nikkei 22530 minn/a 63443.8525,987 USD-13,872
Nikkei 225Dailyn/a 3751.3523,686 USD-22,450
DAX 4030 minn/a 67046.1219,730 EUR-4,983
Nasdaq 100Dailyn/a 4566.6718,973 EUR-7,385
DAX 40Dailyn/a 7350.6818,581 EUR-5,095
Nikkei 22515 minn/a 68842.4418,337 USD-15,493
Nasdaq 1004 hoursn/a 11053.6418,088 EUR-8,028
Nikkei 2252 minn/a 53244.9218,004 USD-7,330
DAX 404 hoursn/a 8851.1417,159 EUR-5,187
Nikkei 2253 minn/a 58043.4516,879 USD-8,634
Dow Jones30 minn/a 27744.7716,353 EUR-10,322
Nasdaq 10030 minn/a 66147.2016,290 EUR-6,394
Dow Jones15 minn/a 60245.3516,051 EUR-9,502
Nikkei 2251 hourn/a 28844.4415,728 USD-12,778
Nikkei 2255 minn/a 66643.0915,399 USD-9,782
Nasdaq 1001 hourn/a 42846.7313,601 EUR-7,304
DAX 4010 minn/a 66245.0212,615 EUR-3,772
Nasdaq 10010 minn/a 67143.9611,591 EUR-5,189
Dow Jones10 minn/a 65042.3110,782 EUR-10,384
Nasdaq 10015 minn/a 72344.679,529 EUR-7,678
US Crude OilDailyn/a 4055.009,411 EUR-8,478
Brent Crude1 hourn/a 22148.428,747 EUR-7,034
DAX 4015 minn/a 64944.687,927 EUR-4,948
DAX 401 hourn/a 36343.537,330 EUR-4,867
FTSE 100Dailyn/a 4060.006,392 EUR-4,680
FTSE 1004 hoursn/a 6443.756,028 EUR-3,323
DAX 405 minn/a 61743.765,275 EUR-4,003
S&P 5004 hoursn/a 9254.355,236 EUR-1,209
Nasdaq 1003 minn/a 47744.035,229 EUR-4,251
S&P 500Dailyn/a 5358.494,561 EUR-1,870
S&P 50030 minn/a 64346.974,512 EUR-1,134
FTSE 10030 minn/a 66941.414,305 EUR-2,974
FTSE 1001 hourn/a 31245.194,184 EUR-4,020
S&P 5001 hourn/a 37947.233,780 EUR-1,498
Dow Jones1 minn/a 42842.993,265 EUR-2,749
FTSE 10015 minn/a 65242.332,918 EUR-2,325
S&P 50010 minn/a 65142.862,330 EUR-1,245
Gold30 minn/a 69546.762,001 EUR-1,765
GoldDailyn/a 5556.361,938 EUR-744
S&P 5005 minn/a 50143.111,720 EUR-1,164
Gold15 minn/a 65445.111,379 EUR-1,151
S&P 5003 minn/a 46242.64912 EUR-866
S&P 5001 minn/a 38743.15562 EUR-348

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// EMA Crossover With ATR Bracket (long only)
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long only
// Timeframe tested: 15 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

fast = ExponentialAverage[16](close)
slow = ExponentialAverage[30](close)
myRsi = RSI[9](close)
myAtr = AverageTrueRange[21](close)

13 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

EMARSIATR
Read this firstKnown weaknesses2 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • Results include the spread only. Commissions and overnight financing are not included.

Questions

About this strategy

Can I run EMA Crossover With ATR Bracket (long only) 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 48 market and timeframe combinations. The best run by trade count was S&P 500, 15 minutes, with 724 trades.

How large was the drawdown?

The best run had a maximum drawdown of 1,322 EUR at the tested position size, against a net result of 2,816 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

CCI Sign With EMA Alignment

Best run on the same market, S&P 500.

1.23 PF · 1,253 trades

ADX Filtered EMA Cross

Also a trend strategy.

1.15 PF · 607 trades

Want strategies that are already part of a live portfolio? Join the ProRealAlgos waitlist.

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