The strategy sells short when the 9-period EMA crosses under the 26-period EMA while RSI(5) is above 40. It covers the short when the 100-period EMA crosses over the 55-period EMA.
Best run of 4. EUR/USD, 3 min, spread 1, from run sweeps:2026-10-12-EURUSD-3m-opt.tsv:5.
| Period | Up to 2026-10-12 |
| Instrument | EUR/USD, 3 minutes |
| Spread | 1 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 |
|---|---|---|---|---|---|---|
| EUR/USDBest run | 3 min | n/a | 363 | 57.30 | 65,871 USD | -33,905 |
| EUR/USD | 10 min | n/a | 332 | 64.16 | 29,886 USD | -27,877 |
| US Crude Oil | 1 hour | n/a | 123 | 62.60 | 7,163 EUR | -3,090 |
| Brent Crude | 3 min | n/a | 322 | 59.32 | 4,191 EUR | -1,734 |
Charts
The code
// ============================================================== // EMA Crossover Short With RSI // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Short only // Timeframe tested: 3 minutes // ============================================================== DEFPARAM CumulateOrders = false emaa = ExponentialAverage[9](close) emab = ExponentialAverage[26](close) emac = ExponentialAverage[100](close) emad = ExponentialAverage[55](close) myRsi = RSI[5](close)
12 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 4 market and timeframe combinations. The best run by trade count was EUR/USD, 3 minutes, with 363 trades.
The best run had a maximum drawdown of 33,905 USD at the tested position size, against a net result of 65,871 USD.
It only takes short trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.