Join waitlist
Strategies / Mean reversion / Reference Level Take Profit Swing

Reference Level Take Profit Swing

Buys when the close moves below 0.98 times or above 1.01 times the level of the last signal close. Closes the long at a take profit of 1.20 times or a stop at 0.85 times the entry close.

Mean reversionLong onlySwingNasdaq 100Daily
n/aProfit factor
33,112Net profit EUR
68.83%Win rate
77Trades
-6,051Max drawdown
430Avg trade

Best run of 56. Nasdaq 100, Daily, spread 3, from run sweeps:2026-10-03-NAS100-D-opt.tsv:76.

Entry rules, long

  1. The first bar buys one contract.

Exit rules

  1. Exits are checked on the close of each bar, not as resting orders.

Test conditions

PeriodUp to 2026-10-03
InstrumentNasdaq 100, Daily
Spread3 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-04

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Nasdaq 100Best runDailyn/a 7768.8333,112 EUR-6,051
Silver1 hourn/a 7455.41592,324 USD-570,420
USD/JPY1 hourn/a 771.43549,160 USD-506,260
USD/JPY30 minn/a 580.00503,190 USD-272,260
USD/JPY15 minn/a 2100.00291,310 USD-245,400
EUR/USD30 minn/a 1070.00137,877 USD-50,920
Nikkei 225Dailyn/a 6157.3862,081 USD-29,996
Nikkei 22530 minn/a 2572.0059,397 USD-12,879
Nikkei 2254 hoursn/a 2572.0059,118 USD-11,811
Nikkei 2251 hourn/a 2867.8658,506 USD-12,691
Nikkei 22515 minn/a 1573.3348,457 USD-13,076
Dow JonesDailyn/a 5969.4947,706 EUR-10,231
Nikkei 2253 minn/a 5100.0038,678 USD-13,081
Nikkei 22510 minn/a 683.3333,366 USD-12,992
Nasdaq 1004 hoursn/a 3375.7631,176 EUR-5,758
Nasdaq 10030 minn/a 2676.9228,765 EUR-6,653
Nasdaq 1001 hourn/a 3571.4326,894 EUR-6,149
Nikkei 2255 minn/a 580.0026,082 USD-13,126
Nasdaq 10015 minn/a 1776.4725,279 EUR-6,583
DAX 40Dailyn/a 7661.8423,882 EUR-6,568
Dow Jones4 hoursn/a 1258.3323,151 EUR-12,079
Dow Jones10 minn/a 4100.0022,279 EUR-8,394
Dow Jones15 minn/a 1060.0021,296 EUR-12,346
Dow Jones1 hourn/a 966.6720,725 EUR-11,920
Dow Jones30 minn/a 966.6720,705 EUR-12,002
Nasdaq 10010 minn/a 887.5019,793 EUR-6,022
DAX 401 hourn/a 2962.0719,443 EUR-5,661
DAX 4030 minn/a 2564.0018,524 EUR-6,074
DAX 404 hoursn/a 2962.0718,297 EUR-6,055
Nikkei 2252 minn/a 2100.0017,911 USD-13,121
DAX 4015 minn/a 1266.6715,667 EUR-5,287
Nasdaq 1003 minn/a 4100.0013,637 EUR-3,758
Dow Jones3 minn/a 366.6713,195 EUR-5,673
DAX 4010 minn/a 683.3311,406 EUR-4,375
Nasdaq 1005 minn/a 580.0010,855 EUR-6,110
FTSE 100Dailyn/a 4264.299,179 EUR-3,753
S&P 500Dailyn/a 6070.006,967 EUR-1,476
S&P 5004 hoursn/a 2867.866,783 EUR-1,322
FTSE 1004 hoursn/a 1963.166,557 EUR-3,344
S&P 50030 minn/a 1485.716,422 EUR-1,319
S&P 5001 hourn/a 2766.676,314 EUR-1,347
FTSE 1001 hourn/a 1957.895,928 EUR-3,699
DAX 405 minn/a 2100.005,427 EUR-4,463
S&P 50015 minn/a 1080.005,003 EUR-1,359
FTSE 10030 minn/a 875.004,820 EUR-2,841
S&P 50010 minn/a 5100.004,160 EUR-1,322
GoldDailyn/a 5763.164,081 EUR-1,345
Gold4 hoursn/a 2171.433,658 EUR-1,453
FTSE 10015 minn/a 771.433,639 EUR-2,179
Gold1 hourn/a 1872.223,121 EUR-1,650
Gold30 minn/a 1764.712,774 EUR-1,477
S&P 5003 minn/a 3100.002,606 EUR-699
FTSE 10010 minn/a 2100.002,456 EUR-1,320
Gold15 minn/a 1070.002,329 EUR-1,675
S&P 5005 minn/a 2100.002,140 EUR-1,332
GBP/USD15 minn/a 250.002,074 USD-1,326

Charts

Results by run

Top 10 of 56 runs. The full list is in the table above.

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Reference Level Take Profit Swing
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Mean reversion
// Direction: Long only
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE state = 0
ONCE ref = 0

IF state = 0 THEN

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.
Read this firstKnown weaknesses2 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The best run has only 77 trades, which is a small sample to judge it on.

Questions

About this strategy

Can I run Reference Level Take Profit Swing 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 56 market and timeframe combinations. The best run by trade count was Nasdaq 100, Daily, with 77 trades.

How large was the drawdown?

The best run had a maximum drawdown of 6,051 EUR at the tested position size, against a net result of 33,112 EUR.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Volatility Spike Regression Long

Best run on the same market, Nasdaq 100.

1.22 PF · 1,850 trades

ATR Band

Also a mean reversion strategy.

10.31 PF · 53 trades

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

Copy trading on US indices is available to ProRealAlgos members as spots open.

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