Sells short after the MACD line has risen for 4 consecutive bars above zero with the close above 0.85 of the bar's range. Exits when the close falls below the prior bar's low.
Best run of 1. US Crude Oil, Daily, spread 5, from run pf:2026-10-10-CRUDE-D.tsv:13.
| Period | Up to 2026-10-10 |
| Instrument | US Crude Oil, Daily |
| Spread | 5 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-10 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| US Crude OilBest run | Daily | 1.24 | 309 | 62.78 | 9,161 EUR | -7,106 |
Charts
The code
// ============================================================== // MACD Exhaustion Reversal (short only) // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Short only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE capital = 10000
23 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 one combination, US Crude Oil, Daily, with a profit factor of 1.24 over 309 trades.
The best run had a maximum drawdown of 7,106 EUR at the tested position size, against a net result of 9,161 EUR.
It only takes short trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.