BACKTESTING · RSI MEAN REVERSION EXECUTION

RSI Mean Reversion Backtest: Bar-Close Signals vs Next-Bar Execution

RSI reversion signals often fire on sharp bars. Executing at the signal close assumes you caught the low; the next open is where you can actually buy.

Short answer

For an RSI mean-reversion rule (e.g. buy when RSI(14) closes below 30), the closed-bar RSI is known at the close. Filling at that close assumes zero latency at a volatile moment; filling at an intrabar RSI dip assumes you bought near the low of a bar whose RSI may close above 30. Realistic execution is the next bar's open with slippage, which matters more for reversion rules because their average gains are small.

Signal time vs execution time

Execution modelAssumptionNet avg (illustrative)
Intrabar RSI < 30Bought the dip, RSI may recover+0.29%
Next bar open + slippageRealistic+0.07%
Signal bar closeZero latency+0.11%
Rsi Mean Reversion: net avg by execution model (%)Rsi Mean Reversion: net avg by execution model (%): Intrabar RSI < 30 +0.29 %; Next bar open + slippage +0.07 %; Signal bar close +0.11 %.RSI MEAN REVERSION: NET AVG BY EXECUTION MODEL (%)Intrabar RSI < 30+0.29 %Next bar open + slippage+0.07 %Signal bar close+0.11 %
Only next-bar or later is tradable. Original ChartsPod editorial graphic.

Where the difference comes from

Reversion rules have small average gains, so a few basis points of execution difference can remove the edge. Intrabar versions also include signals whose closed RSI never went below 30.

Rsi Mean Reversion: one signal (illustrative)Rsi Mean Reversion: one signal (illustrative): BAR t: Signal forms intrabar; BAR t CLOSE: Signal confirmed; BAR t+1 OPEN: Realistic fill; COST: Gap + fees + slippage.BAR tSignal forms intrabarBAR t CLOSESignal confirmedBAR t+1 OPENRealistic fillCOSTGap + fees + slippage
The open can be far from the close. Original ChartsPod editorial graphic.

Break-even after realistic execution

ItemValue (illustrative)
Trades260
Gross avg per trade+0.15%
Fees (2 × 0.05%)−0.10%
Slippage (2 × 0.03%)−0.06%
Net avg per trade-0.01%
Break-even round-trip cost0.15%

Related: RSI Mean Reversion Backtest in Crypto: Fees, Slippage and Break-Even Costs, RSI Trend Continuation Backtest: Bar-Close Signals vs Next-Bar Execution.

Test the rsi mean reversion rule with next-bar fills in ChartsPod.

Open the ChartsPod terminal

Realistic execution is the next bar's open with slippage, which matters more for reversion rules because their average gains are small.

Put RSI Mean Reversion Backtest next to price, flow and positioning in one workspace.

Open a ChartsPod workspace

Questions readers ask

Why is execution timing critical for RSI reversion?

Average gains are small.

Can I buy the intrabar dip in a backtest?

Only if your live rule does the same, with the same uncertainty.

Realistic fill?

Next bar open plus slippage.

Sources and methodology

Backtest cost logic follows TradingView's Pine Script strategy documentation; indicator definitions are standard. All performance numbers are illustrative examples of the method, not results of real tests.

  1. TradingView Pine Script: Strategies — simulated fills and assumptions.
  2. TradingView Pine Script: Repainting — live vs historical calculation.
  3. ChartsPod documentation — guides for order flow, derivatives, alerts, backtests, journal and workspaces.
  4. TradingView Pine Script: Strategies — simulated fills and assumptions.
  5. TradingView Pine Script: Repainting — live vs historical calculation.

This article explains research tools and workflows. It is not financial advice, does not recommend buying or selling any asset and does not predict prices. Crypto derivatives carry a risk of rapid and total loss of margin.

CHARTSPOD EDITORIAL EDITION · RESEARCH AND EDUCATION ONLY · NOT FINANCIAL ADVICE.