Join waitlist
Strategies / Breakout / Reversal With Floor Pivot Levels

Reversal With Floor Pivot Levels

Buys when a reversal pattern and a close above the first floor pivot resistance from the prior day both point up, and sells short when both point down. Positions are closed when the two signals disagree.

BreakoutLong & shortSwingUSD/JPYDaily
1.19Profit factor
1,710,540Net profit USD
37.52%Win rate
1,503Trades
-416,070Max drawdown
1,138Avg trade

Best run of 15. USD/JPY, Daily, spread 1, from run pf:2026-10-12-USDJPY-D.tsv:59.

Entry rules, long

  1. Pivot state is +1 when the close is above R1, and -1 when the close is below S1, using the prior day's high, low and close.
  2. The system buys one contract at market when both states are +1.

Entry rules, short

  1. Pivot state is -1 when the close is below the first support level S1.
  2. The system sells short one contract at market when both states are -1.

Exit rules

  1. A short closes when the two states no longer both point down.
  2. There is no stop or target.

Test conditions

PeriodUp to 2026-10-13
InstrumentUSD/JPY, Daily
Spread1 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-13

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
USD/JPYBest runDaily1.19 1,50337.521,710,540 USD-416,070
USD/JPY30 minn/a 2,19036.85706,070 USD-278,920
USD/JPY10 minn/a 1,52638.53484,830 USD-127,370
USD/JPY1 hourn/a 2,14936.53379,010 USD-340,840
USD/JPY4 hoursn/a 1,29337.74362,540 USD-327,700
USD/JPY15 minn/a 1,71535.86283,980 USD-182,870
Silver4 hoursn/a 1,19233.8131,420 USD-17,544
US Crude Oil30 minn/a 2,12637.549,446 EUR-6,101
DAX 4030 minn/a 2,58035.437,711 EUR-6,179
US Crude Oil1 hourn/a 1,46138.066,871 EUR-4,821
Brent Crude1 hourn/a 1,16937.556,542 EUR-3,086
Gold4 hoursn/a 1,17236.951,484 EUR-680
GoldDailyn/a 1,59735.751,464 EUR-1,174
Gold30 minn/a 2,38635.371,424 EUR-766
Gold5 minn/a 1,40036.57855 EUR-834

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Reversal With Floor Pivot Levels
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Breakout
// Direction: Long & short
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE posrev = 0
ONCE posfp = 0
ONCE sincebad = 1000

ll = lowest[15](low)
hh = highest[15](high)

55 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

SMAStochastic
Read this firstKnown weaknesses2 points
  • A profit factor of 1.19 leaves little room for costs beyond the spread.
  • Results include the spread only. Commissions and overnight financing are not included.

Questions

About this strategy

Can I run Reversal With Floor Pivot Levels 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 15 market and timeframe combinations. The best run was USD/JPY, Daily, with a profit factor of 1.19 over 1,503 trades.

How large was the drawdown?

The best run had a maximum drawdown of 416,070 USD at the tested position size, against a net result of 1,710,540 USD.

Does it trade long, short or both?

It trades both long and short.

Related

Strategies like this one

Trend Surfer

Uses the same indicator.

1.04 PF · 10,813 trades

EMA 8 21 RSI Filtered Bracket

Best run on the same market, USD/JPY.

1.09 PF · 6,194 trades

Quantile Trigger Band Breakout

Also a breakout strategy.

1.19 PF · 1,643 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