In simple terms
Under the strategy’s rules, we buy Solana when Ultimate Oscillator is above 30 but below 70 on the just-closed H4 candle, after being 30 or lower on the previous candle. Its closing price must also be above EMA200. We enter at the next scheduled opening. To exit, we use a fixed stop based on ATR14, a UO≥70 signal on a closed candle or a time limit of 30 H4 candles. This is our threshold-recovery study, not the original divergence method.
On this page
One prespecified recovery rule and one trend-filter question
Does requiring close>EMA200 improve a mechanical Ultimate Oscillator recovery after costs? We froze 7/14/28 windows, 4/2/1 weights, the 30/70 band, execution and one control before calculating results. The original oscillator is commonly interpreted with divergence and a subsequent breakout. We do not detect divergence or claim to reproduce that complete method. Familiar historical data make this retrospective research; no parameter was tuned after the two-trade result.
Five account years and retained source observations
We verify 64 retained Binance SOLUSDT H4 ZIP archives and checksum files from September 2020 through December 2025, containing 11,688 observations. Account results cover 2021–2025; September–December 2020 provides pre-period indicator history. Missing scheduled intervals: 0; noncanonical source-close rows: 6. We preserve those defects and original decimal prices. Missing or noncanonical intervals reset indicators; we never fill the history with invented candles. This is retained-byte verification, not a fresh independent exchange download.
Buying pressure includes the immediately previous close
For each valid candle with a preceding canonical close, true low TL=min(current low, previous close) and true high TH=max(current high, previous close). Buying pressure BP=current close−TL; true range TR=TH−TL. BP is not volume or an order-book imbalance. After a reset, the first candle has no preceding close and contributes no invented BP/TR pair. ATR separately uses high−low as its first range.
TL_t = min(L_t,C_prev); TH_t = max(H_t,C_prev)
BP_t = C_t−TL_t; TR_t = TH_t−TL_t
Symbols: C/H/L are close/high/low; prev is the immediately previous canonical candle. TL/TH are true low/high, BP buying pressure and TR true range. A_n is a ratio of n-pair sums; UO is their weighted oscillator. ATR uses a distinct first high−low range. O is the next raw opening; E/X modeled fills; X_ref raw exit reference; B/B_free cash before/after purchase; q SOL quantity; f/s per-side fee/slippage; SL fixed stop; L_unit planned unit loss; P_net net profit; R_net net R; V liquidation equity.
Buying pressure and true range on the early signal
Ratio of sums, weighted across three lengths
For n=7,14,28, calculate A_n=sum(BP,n)/sum(TR,n) over complete consecutive windows including the current pair. UO=100×(4×A7+2×A14+A28)/7. This is not the mean of individual BP/TR ratios. All three windows use the same H4 series: 28, 56 and 112 scheduled hours with uninterrupted data. Zero-range pairs remain in the window; if any required denominator is zero, UO is unavailable, not 50. The first complete UO is at index 28, the first testable recovery at 29. Exact rational comparisons decide the 30/70 thresholds; displayed rounded values do not.
A_n,t = Σ(BP,n)/Σ(TR,n), n∈{7,14,28}
UO_t = 100×(4×A7_t+2×A14_t+A28_t)/7
Three ratios, weighted 4/2/1
| H4 window | BP sum / TR sum | Weight | Contribution to UO |
|---|---|---|---|
| 7 H4 | 0.384844 | 4/7 | 21.9911 |
| 14 H4 | 0.368520 | 2/7 | 10.5292 |
| 28 H4 | 0.429767 | 1/7 | 6.1395 |
A recovery confirmed at the close and a shared entry gate
When flat, require previous UO≤30, current UO>30 and current UO<70, plus current close>EMA200. Exactly 30 on the previous candle is allowed; current 30 or 70 rejects entry. A jump straight into the exit zone is rejected. Both variants require 200 consecutive canonical observations, positive ATR14 and current/previous UO. EMA200 starts with the mean of 200 closes; ATR14 with 14 true ranges, then Wilder smoothing. The control removes only the close>EMA200 requirement. Buy at the immediately next scheduled observed opening; cancel missing or out-of-period entries.
UO_prev ≤ 30 < UO_t < 70; C_t > EMA200_t
One fixed stop and opening-event priority
Modeled entry E is the raw next opening plus adverse slippage. Fix SL=E−2×signal ATR14 and reject unless 0<SL<the raw opening. Hold one fully cash-funded spot position, without leverage, a profit target, trailing stop or adding. At an observed opening, stop-gap has priority over a queued UO exit, then an overdue time exit. Only afterward can the candle low trigger an intrabar stop. Later close metadata cannot invalidate an opening already observed.
E = O×(1+s); SL = E−2×ATR14_signal
An upper-zone exit and the scheduled deadline
When UO is defined on a completed canonical candle and UO≥70, we schedule an exit at the next observed opening; a fresh crossing, EMA200, the 200-observation entry gate and positive ATR are unnecessary. Falling below 30 alone is not an indicator exit. Queued exits survive missing or noncanonical data and resets. Otherwise exit at the 30th scheduled H4 close or exact period end, checking stops first. A missed deadline uses the first later observed opening. Noncanonical close liquidations are flagged proxies; no same-opening re-entry is allowed.
UO_t ≥ 70 → X_ref = O_next_observed
Cash-funded size and the meaning of net R
Each account starts with 10,000 USDT and no leverage. Planned loss at the nominal stop, including modeled fees and slippage, is limited to 1% of pre-entry cash. Available cash can reduce quantity further. Net R divides realized net P&L by that entry's planned monetary loss. Fractional quantities are allowed; historical lot and minimum-notional rules are not reconstructed. An opening gap can exceed the planned loss.
L_unit = E(1+f)−SL(1−s)(1−f)
q = min[0.01×B/L_unit, B/(E(1+f))]
R_net = P_net/(q×L_unit)
Equal ending returns do not mean costs disappear
Per side, baseline fees/slippage are 0.10%/0.05%; higher assumptions are 0.20%/0.10%. Primary full-period return is −1.99% without costs, −1.99% at baseline and −1.99% at higher costs. All three have 2 trades, each stopping at the nominal loss budget. Since size includes each scenario's stop-execution costs, each trade loses exactly 1% of its own starting cash here: 0.99×0.99−1=−1.99%. Quantities, fees, stops and marked drawdowns still change. This particular two-stop outcome is not proof of cost robustness; no cost was simply subtracted from a fixed ledger.
X = X_ref×(1−s)
P_net = q×[X(1−f)−E(1+f)]
100×(0.99²−1) = −1.99%
The predefined cost scenarios
| Account or scenario | Net return % | Fees · USDT | Entry slippage · USDT | Exit slippage · USDT | Traded notional / initial cash |
|---|---|---|---|---|---|
| UO + EMA200 · zero costs | −1.99 | 0.00 | 0.00 | 0.00 | 0.77 |
| UO7/14/28 + EMA200 | −1.99 | 7.33 | 1.88 | 1.79 | 0.73 |
| UO + EMA200 · higher costs | −1.99 | 14.02 | 3.59 | 3.42 | 0.70 |
Two losing trades are the central limitation
The primary full account returns −1.99% on just 2 trades: 0 profitable and 2 losing. Profit factor is 0.00, H4-close drawdown 4.94% and observed-interval occupancy 0.37%. Separately restarted early and later accounts return −1.00% and −1.00%, one trade in each. Fully invested buy-and-hold returns +8,136.78% with 96.60% sampled drawdown and very different exposure. These are cumulative results, not annual rates; two primary trades cannot establish a reliable performance distribution.
The continuous accounts after baseline costs
The trend gate sharply reduces this historical sample
Removing only the EMA200 entry filter gives +0.78% on 17 trades, with 8.51% H4-close drawdown. Its restarted later account returns −1.65% with 5.07% drawdown, versus −1.00% and 1.06% with the gate. In this sample the gate reduces frequency and occupancy and worsens the full-period return, while full-period sampled drawdown is smaller. That describes these paths, not universal indicator superiority or comparable-risk investments. Even the control sample is small.
| Account or scenario | Net return % | H4-close drawdown % | Trades | Profit factor | Observed-interval occupancy % |
|---|---|---|---|---|---|
| UO7/14/28 + EMA200 · Continuous 2021–2025 | −1.99 | 4.94 | 2 | 0.00 | 0.37 |
| UO7/14/28 without EMA200 · Continuous 2021–2025 | +0.78 | 8.51 | 17 | 1.08 | 2.89 |
| UO7/14/28 + EMA200 · Restarted 2021–2022 | −1.00 | 3.98 | 1 | 0.00 | 0.66 |
| UO7/14/28 without EMA200 · Restarted 2021–2022 | +2.47 | 3.98 | 6 | 1.80 | 3.17 |
| UO7/14/28 + EMA200 · Restarted 2023–2025 | −1.00 | 1.06 | 1 | 0.00 | 0.17 |
| UO7/14/28 without EMA200 · Restarted 2023–2025 | −1.65 | 5.07 | 11 | 0.72 | 2.71 |
| Buy and hold · base costs · Continuous 2021–2025 | +8,136.78 | 96.60 | — | — | 100.00 |
Zero affected trades do not remove source limitations
Primary full-period trades crossing missing intervals: 0; touching noncanonical rows: 0; delayed UO exits: 0; noncanonical close-liquidation proxies: 0. The control has 0 trades touching noncanonical rows. Missing/partial source defects are retained; an open position would keep its original stop after indicator resets. Excluding affected trades at original quantities is an after-the-event ledger diagnostic, not an executable avoidance filter or rebuilt return.
| Account or scenario | Trades |
|---|---|
| Trades crossing missing H4 intervals | 0 |
| Trades exposed to noncanonical rows | 0 |
| Delayed UO exits | 0 |
| Noncanonical-close liquidation proxies | 0 |
Two chronological examples, both ending at a stop
The first early trade opens 2022-11-03 04:00 UTC and records −1.000 net R; the first later trade opens 2024-11-01 20:00 UTC and records −1.000 net R. Each is its restarted account's only trade, and both are losses. Actual OHLC, EMA200 and fixed SL appear above; UO uses its own 0–100 scale below, with 30/70 levels. S marks the completed signal candle, E/X raw price references. Stop X marks an H4 interval, not a known tick time or confirmed fill. Modeled slippage is accounted for separately; the full historical chart is not a forward replay.
First completed early trade
Select a candle with the chart, slider or arrow keys. Prices, pressure/range and UO use four decimals; component ratios use six. Exact rational thresholds and unrounded account inputs determine trades. Opening and completed-candle availability are UTC.
- Opening · UTC
- 2022-10-31 08:00 UTC
- Available · UTC
- 2022-10-31 12:00 UTC
- Open
- 33.4200
- High
- 34.3900
- Low
- 33.1300
- Close
- 34.0300
- BP · USDT per SOL
- 0.9000
- UO TR · USDT per SOL
- 1.2600
- A7 · BP7 / TR7
- 0.574568
- A14 · BP14 / TR14
- 0.545220
- A28 · BP28 / TR28
- 0.520336
- Ultimate Oscillator · 0–100
- 55.8435
- EMA200 · USDT per SOL
- 31.3949
- ATR14 · USDT per SOL
- 0.8382
- SL · fixed stop
- 29.9773
| Opening · UTC | Entry fill after slippage | Exit fill after slippage | Net R |
|---|---|---|---|
| 2022-11-03 04:00 UTC | 31.67 | 29.96 | −1.000 |
First completed later trade
Select a candle with the chart, slider or arrow keys. Prices, pressure/range and UO use four decimals; component ratios use six. Exact rational thresholds and unrounded account inputs determine trades. Opening and completed-candle availability are UTC.
- Opening · UTC
- 2024-10-30 00:00 UTC
- Available · UTC
- 2024-10-30 04:00 UTC
- Open
- 179.4300
- High
- 180.8400
- Low
- 176.9400
- Close
- 180.0900
- BP · USDT per SOL
- 3.1500
- UO TR · USDT per SOL
- 3.9000
- A7 · BP7 / TR7
- 0.562404
- A14 · BP14 / TR14
- 0.513603
- A28 · BP28 / TR28
- 0.520895
- Ultimate Oscillator · 0–100
- 54.2531
- EMA200 · USDT per SOL
- 158.6191
- ATR14 · USDT per SOL
- 3.6900
- SL · fixed stop
- 158.6999
| Opening · UTC | Entry fill after slippage | Exit fill after slippage | Net R |
|---|---|---|---|
| 2024-11-01 20:00 UTC | 166.68 | 158.62 | −1.000 |
No opposite-sign later example exists
The frozen selection asks for the first later trade with a nonzero net-P&L sign opposite to the first later trade. There is no such trade: the later primary account has only 1 losing trade. We show two actual chronological examples and do not manufacture a winning third example or alter thresholds to obtain one. Their net R values already belong to the account records. The separate pressure/range and weighting diagrams explain arithmetic, not additional trades.
Restarted accounts, yearly returns and sampled exposure
Each account window includes its start and excludes its end. Cash and positions restart, while the same valid pre-period indicator history is retained. A signal completed exactly at the start boundary may enter the newly flat account at that opening; no order is carried from another account. Annual returns compare consecutive year-end liquidation equities and compound rather than add. H4-close equity values deduct modeled exit fee and slippage for open holdings. Position share counts observed intervals with holding duration after opening decisions, so a position closed exactly at a new opening does not occupy that interval; it is not exact wall-clock exposure or continuous maximum risk.
V = B_free+q×C_t×(1−s)(1−f)
Year-by-year results of the continuous accounts
| Year | UO7/14/28 + EMA200 | UO7/14/28 without EMA200 |
|---|---|---|
| 2021 | 0.00 | +2.46 |
| 2022 | −1.00 | +0.01 |
| 2023 | 0.00 | 0.00 |
| 2024 | −1.00 | −3.41 |
| 2025 | 0.00 | +1.82 |
Reproduce the fixed study and preserve sparse-sample limits
Downloads contain the frozen protocol and source hashes, all observations and indicators, eight strategy/cost ledgers, three buy-and-hold paths and standalone replay/checker files. Main accounts use Decimal40; a separate Decimal50 reconstruction and exact rational UO-level comparisons check the results. Obtain all 64 original ZIPs with matching checksums. No rules changed after results. A familiar sample, one venue, assumed fractional execution and only two primary trades limit inference; the two losses do not justify claims about every Ultimate Oscillator strategy.
Run the replay with the protocol and original monthly ZIPs with their checksum files. The independent checker can also compare the retained observations with those original ZIPs.
python3 sol-ultimate-replay.py --protocol sol-ultimate-protocol.json --raw-dir raw4h --output replay.json python3 sol-ultimate-independent-check.py --protocol sol-ultimate-protocol.json --evidence sol-ultimate-evidence.json --raw-dir raw4h
Frequently asked questions
Was this Ultimate Oscillator variant profitable?
No. The primary account returns −1.99% over 2021–2025 after baseline costs, from only 2 losing trades. The control without the EMA200 entry filter returns +0.78% on 17 trades. These small retrospective samples do not establish a stable future effect or actual execution.
Is this the original Williams divergence strategy?
No. We test an explicitly defined 30/70 threshold recovery plus EMA200. We do not identify price/oscillator divergence or require a breakout of the divergence high. Results belong to this adaptation, not every use of the indicator.
Do the three windows use different chart timeframes?
No. Seven, fourteen and twenty-eight are lookback lengths on the same H4 candles. Each component divides a sum of buying pressure by the corresponding sum of true ranges; they are weighted 4/2/1. This is not three separately resampled charts or a mean of individual candle ratios.
Why is the ending loss identical in all three cost scenarios?
Both trades reach their nominal stops. Position size includes each scenario's assumed entry/stop-exit fees and slippage, so each loses exactly 1% of its own pre-entry cash here. The continuous result is 0.99²−1=−1.99%. Stops, quantities, fees and marked drawdowns still differ. This coincidence in two trades does not show that costs are irrelevant.
How should I read the chart times and trade markers?
All candle times are H4 openings in UTC; close-based signals become available four hours later. S shows the signal candle, E the raw entry reference and X the raw exit reference. Opening and scheduled-close exits use their stated model time. An intrabar stop identifies only its H4 interval, not an exact tick or actual fill; the ledger separately models adverse slippage.
Does a 1% risk size guarantee the maximum loss?
No. The budget uses the nominal stop and the scenario's assumed entry and exit costs. Gaps, missing prices, liquidity and actual execution can produce a different loss. Reported drawdown is sampled at H4 closes; it is not a continuous worst-case risk limit.
Primary sources
Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.
Scope and research limitations
Only two primary trades occur in this familiar sample, both losing. The control has only seventeen. A single exchange, source defects, hypothetical fractional fills and H4-close drawdown do not establish future returns, actual execution or a general verdict on the indicator. Equal stop-budget losses under three costs do not establish cost robustness.