Join waitlist
Strategies / Mean reversion / Weekday Pullback Reversal Long

Weekday Pullback Reversal Long

It buys on DayOfWeek 2 when the close is below its 10 period average and near the bar's low, then sells on DayOfWeek 3. The 14 period average true range must be at least its value 100 bars earlier.

Mean reversionLong onlySwingGoldDaily
1.92Profit factor
5,643Net profit EUR
55.41%Win rate
157Trades
-1,854Max drawdown
35.94Avg trade

Best run of 2. Gold, Daily, spread 0.6, from run pf:2026-10-11-GOLD-D.tsv:15.

Entry rules, long

  1. DayOfWeek equals 2
  2. (close minus low) divided by (high minus low) is below 0.2
  3. The 14 period average true range is at least its value 100 bars earlier

Exit rules

  1. DayOfWeek equals 3, closing the long.

Test conditions

PeriodUp to 2026-10-11
InstrumentGold, Daily
Spread0.6 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
GoldBest runDaily1.92 15755.415,643 EUR-1,854
USD/JPYDaily3.13 1369.23237 USD-55.10

Charts

Results by run

Above 1.0 made money, below 1.0 lost money.

The code

ProBuilder code, as tested

// ==============================================================
// Weekday Pullback Reversal Long
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Mean reversion
// Direction: Long only
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false
ONCE capital = 10000

21 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

ATRSMA
Read this firstKnown weaknesses2 points
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.
  • Results include the spread only. Commissions and overnight financing are not included.

Questions

About this strategy

Can I run Weekday Pullback Reversal Long 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 2 market and timeframe combinations. The best run was Gold, Daily, with a profit factor of 1.92 over 157 trades.

How large was the drawdown?

The best run had a maximum drawdown of 1,854 EUR at the tested position size, against a net result of 5,643 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 Breakout

Best run on the same market, Gold.

1.08 PF · 6,065 trades

Bollinger Band Reversal Long

Also a mean reversion strategy.

1.92 PF · 136 trades

See how ProRealAlgos combines strategies like this into one automated portfolio.

The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.

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