The strategy buys when an EMA based state and a bull power state both turn bullish, and sells short when both turn bearish. An open position closes when the two states no longer agree.
Best run of 6. S&P 500, Daily, spread 1, from run sweeps:2026-10-11-USA500-D-opt.tsv:128.
| Period | Up to 2026-10-11 |
| Instrument | S&P 500, Daily |
| 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-11 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| S&P 500Best run | Daily | n/a | 1,672 | 43.12 | 1,945 EUR | -1,063 |
| Dow Jones | Daily | n/a | 1,533 | 49.84 | 32,615 EUR | -8,408 |
| Nasdaq 100 | Daily | n/a | 1,282 | 46.80 | 13,407 EUR | -3,688 |
| DAX 40 | Daily | n/a | 1,491 | 47.95 | 8,256 EUR | -6,047 |
| FTSE 100 | Daily | n/a | 1,277 | 50.04 | 3,834 EUR | -3,153 |
| Gold | Daily | n/a | 1,563 | 46.51 | 1,463 EUR | -1,350 |
Charts
The code
// ============================================================== // EMA Bull Power Trend // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE posema = 0 xa = ExponentialAverage[14](close) nhh = max(high, high[1]) nll = min(low, low[1])
69 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 6 market and timeframe combinations. The best run by trade count was S&P 500, Daily, with 1,672 trades.
The best run had a maximum drawdown of 1,063 EUR at the tested position size, against a net result of 1,945 EUR.
It trades both long and short.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.