In simple terms
We wait for three more H4 candles to close after a potential low. Both versions can buy at the next H4 open after a confirmed lower low. The RSI version also requires a higher RSI at that low. The base results were −13.73% and +14.55% with RSI, versus −43.51% and −46.06% without it.
Contents
What a bullish divergence shows
Price sets a lower low while RSI, measured at the closes of those same two candles, rises. The pattern is a way to compare downside momentum. A price reversal remains uncertain.
Data and test windows
We use Binance ETH/USDT spot H4 candles in UTC. Each window starts flat with 10,000 USDT. Earlier candles from October 2021 initialize the indicators and pivot history. The later window starts with a fresh balance and keeps that history.
How we calculate Wilder RSI
Separate each close-to-close change into a positive gain and a positive loss, setting the unused side to zero. Seed the averages with 14 changes and then apply Wilder smoothing. RSI is 100 with gains and zero average loss, 0 with losses and zero average gain, and 50 if both averages are zero.
RSIₜ = 100 − 100 / (1 + Gₜ / Lₜ)
RMAₜ = (13 × RMAₜ₋₁ + xₜ) / 14
Which lows count as pivots
A pivot low must be strictly below the lows of the three candles on either side. We compare it with the immediately preceding confirmed pivot. Their separation must be 5–40 H4 bars and the second low must be strictly lower.
When the signal is available
The potential pivot becomes known when the third candle on its right closes. C labels that confirmation candle. For the filtered rule, RSI(14) at the second pivot close must be strictly higher than at the first pivot close. E uses the first trade price of the next H4 as its reference.
Low₂ < Low₁ · RSI₂ > RSI₁ · 5 ≤ p₂ − p₁ ≤ 40
C = p₂ + 3 · E = open(p₂ + 4)
The price-only control
The control keeps the lower low, confirmation delay, stop, time limit, position size and costs. It accepts signals without comparing RSI. Each version holds at most one position. A signal is skipped if the account carries a position into that opening, including a position due to exit there.
Where the stop goes
The fixed stop is two Wilder ATR(14) below the modeled entry. We use ATR at the confirmation close, seeded with 14 true ranges. The first archived aggregate trade at or below the level is the raw reference for the sale. Exit slippage can put the modeled fill below it.
TRₜ = max(Hₜ − Lₜ, |Hₜ − Cₜ₋₁|, |Lₜ − Cₜ₋₁|)
S = P_E − 2 × ATR₁₄(C)
The time exit and window boundary
We exit at the opening reference after holding 12 complete H4 bars, or at the first trade at the window boundary if earlier. An opening exit takes precedence over later prints in its candle. Only confirmations and entries within each window can open positions.
Position size and trading costs
Each entry uses the available USDT balance, including its entry fee, for fractional spot ETH. Both versions pay 10 bp commission per side. We add adverse slippage of 5 bp per side in the base case and 15 bp in stress. One basis point is 0.01%. We apply slippage to price before the fee.
Q = V_E / [P_E × (1 + f)]
V_X = Q × P_X × (1 − f)
From signals to filled trades
The signal counts are measured before the one-position constraint. The table separates lower-low candidates, RSI rejections, busy openings and completed round trips in the base case. Stops, time exits and window exits partition those round trips.
| Case | Candidates | Rejected by RSI | Busy | Trades | Stops | Time exits | Window exits |
|---|---|---|---|---|---|---|---|
| 2022–2023 · RSI divergence | 192 | 149 | 1 | 42 | 15 | 27 | 0 |
| 2022–2023 · Price only | 192 | 0 | 21 | 171 | 60 | 110 | 1 |
| 2024–2025 · RSI divergence | 189 | 149 | 0 | 40 | 11 | 29 | 0 |
| 2024–2025 · Price only | 189 | 0 | 16 | 173 | 59 | 113 | 1 |
Net returns and drawdowns
In 2022–2023 the base return was −13.73% with RSI and −43.51% for the control. In 2024–2025 it was +14.55% and −46.06%. Drawdown uses every H4 closing equity mark plus the starting and final balances. While invested, marks include estimated exit costs.
| Case | Net return | Max. H4-close drawdown |
|---|---|---|
| 2022–2023 · Base costs · RSI divergence | −13.73% | 30.05% |
| 2022–2023 · Base costs · Price only | −43.51% | 63.74% |
| 2022–2023 · Base costs · Buy and hold ETH | −38.11% | 76.23% |
| 2022–2023 · Stress costs · RSI divergence | −20.95% | 30.72% |
| 2022–2023 · Stress costs · Price only | −57.99% | 67.47% |
| 2022–2023 · Stress costs · Buy and hold ETH | −38.24% | 76.23% |
| 2024–2025 · Base costs · RSI divergence | +14.55% | 18.39% |
| 2024–2025 · Base costs · Price only | −46.06% | 62.49% |
| 2024–2025 · Base costs · Buy and hold ETH | +29.84% | 65.12% |
| 2024–2025 · Stress costs · RSI divergence | +6.96% | 18.95% |
| 2024–2025 · Stress costs · Price only | −64.72% | 72.95% |
| 2024–2025 · Stress costs · Buy and hold ETH | +29.58% | 65.12% |
Stress costs and passive ETH
With 15 bp adverse slippage per side, the filtered returns were −20.95% and +6.96%. The base passive benchmark returned −38.11% and +29.84%. It buys once at each window's start and sells at its boundary, with the same cost model.
A stop on the chart
The example is the first later-window base divergence trade that stops out with at most 20 bars between the pivots and at least two bars between the entry and exit bars. P1 and P2 label the lows, C the confirmation candle, and E and X the modeled fills. The UTC cards use archived trade times for both executions in this example. In this example C is the close of the previous H4 and E uses the first trade of the next H4. Both timestamps read 08:00 UTC.
- P1 → P2 · USDT/ETH
- 2,428.56 → 2,415.20
- P1 → P2 · RSI(14)
- 39.77 → 47.04
- C · UTC
- E · UTC
- X · UTC
- E · USDT/ETH
- 2,479.7192
- X · USDT/ETH
- 2,405.2968
- S · USDT/ETH
- 2,406.5143
- Net account return for trade
- −3.20%
What the simulation leaves open
The stop trigger uses observed prints, with a fixed adverse fill adjustment. Real orders face latency, depth and gaps. Equity drawdown is measured at H4 closes, so losses inside a candle can be larger. The test uses one spot pair without leverage.
How to reproduce it
The JSON includes the protocol, archive checksums, signal counts, all scenarios and account marks. The CSV includes the simulated round trips under both cost assumptions. An independent calculation checks the pivots, RSI, ATR, first stop prints and account arithmetic.
What the comparison can support
The RSI filter improved net returns against the price-only rule in both windows. The first window still lost money. In the later window the filter returned less than buying and holding ETH, with a smaller H4-close drawdown. The filter also cut the trade count.
Questions and answers
Is this the same as buying when RSI is below 30?
No. The filter compares the two RSI readings and imposes no oversold threshold.
Could the strategy enter at the second pivot?
The pivot is confirmed only after three more candles close. We model the entry at the first available price of the following candle.
Why use the immediately preceding pivot?
It fixes the comparison before seeing the outcome and gives both variants the same candidate list.
What if a print jumps below the stop?
The first qualifying print is the reference, even if it is below the stop. Adverse slippage and the fee then apply.
Can both versions hold more than one position?
Each version holds at most one spot position and skips signals at busy openings.
What makes up the reported drawdown?
We measure the largest drop from a prior H4 equity peak, including estimated exit costs and the boundary balance.
Sources and reproducibility
Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.
Risk disclosure
Educational material. Spot ETH can lose value, and actual execution costs and stop fills can differ from the simulation. Historical results do not predict future returns.