It buys a red candle when the 14-period money flow index is below 25 and the choppiness index is below 50, with rising volume. It sells short on a green candle with money flow above 75 and the same choppiness and volume conditions.
Best run of 9. GBP/USD, 30 min, spread 1.5, from run sweeps:2026-10-11-GBPUSD-30m-opt.tsv:9.
| Period | Up to 2026-10-11 |
| Instrument | GBP/USD, 30 minutes |
| Spread | 1.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-11 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| GBP/USDBest run | 30 min | n/a | 1,689 | 60.69 | 4,278 USD | -3,110 |
| Silver | 5 min | n/a | 1,593 | 59.76 | 18,511 USD | -15,787 |
| Dow Jones | 4 hours | n/a | 198 | 60.61 | 14,876 EUR | -11,395 |
| Nikkei 225 | Daily | n/a | 66 | 60.61 | 14,754 USD | -8,826 |
| Dow Jones | 1 hour | n/a | 838 | 60.26 | 13,415 EUR | -11,503 |
| GBP/USD | 4 hours | n/a | 308 | 61.69 | 9,499 USD | -4,352 |
| FTSE 100 | Daily | n/a | 50 | 70.00 | 5,035 EUR | -1,641 |
| GBP/USD | 15 min | n/a | 1,603 | 59.64 | 3,812 USD | -1,934 |
| FTSE 100 | 4 hours | n/a | 225 | 64.44 | 2,595 EUR | -2,340 |
Charts
The code
// ============================================================== // Money Flow Choppiness Reversal // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long & short // Timeframe tested: 30 minutes // ============================================================== DEFPARAM CumulateOrders = false src = TypicalPrice chg = src - src[1] upf = 0 dnf = 0
40 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 9 market and timeframe combinations. The best run by trade count was GBP/USD, 30 minutes, with 1,689 trades.
The best run had a maximum drawdown of 3,110 USD at the tested position size, against a net result of 4,278 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.