The Ultimate Oscillator combines buying pressure relative to true range over three overlapping windows. Here we test a fresh crossing of 50 with price on the matching side of EMA200. This is a separately defined experiment, not the original divergence method. The reused 2024 USD/JPY sample gives a small loss after the main cost deduction; the rules were frozen before that outcome was known.
1. Read the result after costs
The filtered model entered 52 of 140 first daily candidates. Its +2.39 R gross total becomes -0.81 R after 2 pips per trade, with 6.30 R maximum closed-trade drawdown and 44.2% net winners. At 4 pips the result is -4.00 R. The gross gain did not survive the main cost assumption.
Omitting only EMA200 gives -0.18 R over 105 trades at 2 pips. The filter reduces activity and drawdown, but its total R is worse. Neither model demonstrates positive total R after the main costs in this reused sample; no parameter was changed after seeing the outcome.
The unfiltered model has +100.0 net pips but negative total R at 2 pips. There is no contradiction: each trade’s R divides its own price result by its own initial risk distance. Summing unweighted pips answers a different question; neither number is an account return.
2. Fix the midline cross and EMA200 filter
The frozen protocol uses an objective 50-cross. It does not select divergence pivots or require a 30/70 excursion. The comparison removes only EMA200, keeping the same first daily candidates and execution.
- BP = close − min(low, previous retained close); TR = max(high, previous retained close) − min(low, previous retained close). For n = 7, 14, 28, use A_n = sum(BP)/sum(TR), then UO = 100 × (4 A_7 + 2 A_14 + A_28)/7. One reading needs 29 closes. If any denominator is zero, UO is unavailable. EMA200 starts from the mean of the first 200 retained closes, then uses alpha 2/201. ATR14 is Wilder-smoothed after the first 14 available TRs. Partial hours advance all calculations; require at least 1000 retained H1 closes.
- Use H1 ends 07:00–15:00 UTC inclusive, Monday–Friday, with no seasonal shift. The first numerical cross in that window consumes the UTC date before quality, risk, EMA, opening or busy checks.
- Long: previous UO ≤ 50 and current UO > 50. Short: previous UO ≥ 50 and current UO < 50. Arrival exactly at 50 or remaining on the same side is not a new cross. Use exact integer ratios for the decision, not rounded display readings.
- All 30 retained H1 bars ending at the signal must each contain 60 consecutive minutes and be adjacent exactly one hour apart. Both 28-bar BP/TR windows also use a preceding close; their union therefore needs 30 closes. A partial earlier hour still rejects the date.
- Round 1.5 × signal ATR14 upward to a multiple of 0.001 JPY/USD. Accept 10–80 pips inclusive; one USD/JPY pip is 0.01 JPY/USD. Unavailable or nonpositive ATR rejects the attempt.
- The filtered model requires long close > current EMA200 or short close < current EMA200, with unrounded values. Equality fails. No EMA slope condition is added. The unfiltered model omits only this context filter.
- Enter at the opening of the exact next M1 interval. If its record is missing, reject rather than substitute a later opening. Each model permits one open position and at most one entry per UTC date; rejected attempts and missed openings are never replaced.
3. Define risk and minute-level execution
With interval-end labels, a signal at 14:00 uses the M1 record ending 14:01, whose reference opening is modeled at 14:00. Only then are the entry-based stop one rounded distance away and the 2 R target known. The preceding H1 chart does not reveal these future E/S/T prices.
Exit after four clock hours unless stop or target acts first; no trailing, break-even move or signal exit. At an observed open, a breached stop fills at that open, then a breached target at its fixed target without favorable improvement, then a due clock exit. Otherwise a held-path gap forces valuation at the next observed open. If a minute touches both stop and target, assume stop first.
Keep any gap flag even when opening stop, target or time has priority. Neither model has a held-path gap, truncated trade or same-minute stop/target ambiguity in this replay. That does not supply ticks or execution seconds: a stop reached inside a minute retains an observation interval and an unknown exact second.
4. Inspect the first trade and the first loss
The first accepted signal is a short on 5 March at 14:00 UTC: UO falls from 50.854488 to 40.224412 and the close 150.070 is below EMA200 150.290362. The next exact M1 open is 150.070, risk 17.2 pips, stop 150.242 and target 149.726. Those entry-based values appear only in M1; the H1 figure stops at the decision.
First accepted short: fresh cross below 50

The first loss is a different short on 12 March at 11:00 UTC. Entry 147.320, risk 28.9 pips, stop 147.609 and target 146.742. The stop is reached within 2024-03-12 12:30 UTC → 2024-03-12 12:31 UTC; the exact second is unknown. Net -1.069 R at 2 pips. The first trade’s earlier target is an observed-opening exit and has a different time precision.
First loss: a separate short reaches its stop

5. Compare fixed costs and both models
Each cost row uses the same reference entries and exits for the selected model. Deduct 0, 2 or 4 pips once per completed round trip. These illustrative all-in deductions are not measured historical bid/ask, actual commissions, swap or a slippage distribution.
At 2 pips the confirmed model gives -0.81 R; at 4 pips, -4.00 R. A stopped trade can lose more than −1 R after costs, and a 2 R target nets less than 2 R. The separate two-model comparison holds cost at 2 pips; changing the display does not change the frozen rules.
| All-in cost · pip per round trip | Trades | Total net · R | Net result · pip | Wins · % | Maximum drawdown · R | Profit factor · net R |
|---|---|---|---|---|---|---|
| 0 | 52 | +2.387 | +73.1 | 46.2 | 5.496 | 1.102 |
| 2 | 52 | -0.808 | -30.9 | 44.2 | 6.296 | 0.968 |
| 4 | 52 | -4.002 | -134.9 | 42.3 | 7.567 | 0.852 |
| Fixed model | Trades | Total net · R | Maximum drawdown · R |
|---|---|---|---|
| UO + EMA200 | 52 | -0.808 | 6.296 |
| Without EMA200 | 105 | -0.176 | 9.961 |
6. Keep the first EMA rejection
The first EMA rejection is 2024-03-07 15:00 UTC: UO rises from 37.914783 to 50.936791, but close 148.100 remains below EMA200 149.849834. A long crossing alone does not satisfy the filtered model.
The date stays consumed. The main model receives no entry, stop, target or trading result for this attempt. The unfiltered model may enter the same candidate; that is a separate comparison, not a replacement trade. EMA context rejects 53 candidates, recent-window quality 31 and risk 4.
First EMA rejection: long cross below EMA200

7. Replay observed hours and minutes
Choose model, fixed cost and daily candidate. H1 ends at the selected observed hour; direction, decision, planned risk and context stay hidden before the signal closes. UO, EMA200 and ATR are historical values at that hour. Entry-based E/S/T and the eventual outcome remain hidden throughout H1.
M1 is available only when the selected model entered. Indicator values stay fixed at the signal hour. The 40/80-bar view stops at the chosen observation and reveals exit/result only at the exit interval. No artificial bars fill gaps; the gap example is disabled because neither accepted model has a held-path gap.
Loading historical test…
D closed signal · UO7/14/28 · EMA200; entry prices hidden
The visible chart ends at the selected observation.
No accepted trade crosses a held minute gap; the gap example is unavailable.
Entry and outcome are hidden in H1 view
This rejected attempt has no M1 execution or trading result.
The exit is beyond the selected replay minute.
- UTC date
- —
- Direction
- —
- Attempt status
- —
- Decision / exit
- —
- Selected observation · UTC
- —
- Close · JPY/USD
- —
- UO 7/14/28 · 4:2:1
- —
- Previous recorded UO
- —
- EMA200 · JPY/USD
- —
- ATR14 · JPY/USD
- —
- Price versus EMA200
- —
- Fresh UO cross · H1 end UTC
- —
- Rounded initial distance · pip
- —
- E · entry reference
- —
- Modeled entry time · UTC
- —
- S · stop reference
- —
- T · target reference
- —
- X · exit reference
- —
- Exit observation interval · UTC
- —
- Modeled exit time · UTC
- —
- Exit time precision
- —
- Gross result · R
- —
- Net result · R
- —
- Net result · pip
- —
- Held minute-path coverage
- —
8. Check coverage, subperiods and limits
The first half-year gives +3.12 R over 15 filtered trades at 2 pips; the second gives -3.93 R over 37. The change of sign limits any inference from the full-year aggregate. This is a diagnostic split of previously used data, not untouched validation.
Neither model has an accepted held-path gap, truncation or same-minute stop/target tie in this replay. Inputs still include 87 partial H1 bars and 52 gaps; 31 first candidates fail the 30-hour quality gate. OHLC does not reveal every tick, historical bid/ask triggering or actual fills.
These totals do not specify position sizing, account leverage, compounding or portfolio exposure. A lower drawdown and a positive gross result do not establish a profitable executable system after costs.
| Calendar subperiod | Trades | Total net · R |
|---|---|---|
| January–June 2024 | 15 | +3.121 |
| July–December 2024 | 37 | -3.929 |
| Held-path coverage at 2 pips | Trades | Net contribution · R |
|---|---|---|
| No held gap | 52 | -0.808 |
| Flagged next-open valuation | 0 | +0.000 |
Frequently asked questions
Is this the original UO divergence strategy?
No. This test fixes a fresh crossing of 50 and an EMA200 context filter. It does not identify divergence pivots or add 30/70 excursions. UO uses 7/14/28 rolling BP/TR sums weighted 4:2:1; a zero denominator makes the reading unavailable.
Can a rejected first cross be replaced?
No. The first numerical cross in 07:00–15:00 UTC consumes the date before every check. The two UO readings need 30 complete adjacent H1 bars; a later valid cross cannot replace a rejection.
How are the stop and target set?
Round 1.5 × ATR14 upward to 0.001 JPY/USD, require 10–80 pips inclusive, then measure the stop from the observed exact next M1 open; target 2 R. One pip is 0.01 JPY/USD.
Did EMA200 improve the result after costs?
It reduced trades and drawdown, but worsened total R: -0.81 R versus -0.18 R without the filter at 2 pips. At 4 pips the main result is -4.00 R. The fixed test does not demonstrate profitability.
Is X an exact stop execution time?
For the first loss, no. The retained M1 high/low reaches the reference stop within 2024-03-12 12:30 UTC → 2024-03-12 12:31 UTC; its exact second is unknown. A known opening-time exit is labeled differently.
Are these account returns or new validation quotes?
No. R normalizes each trade by initial stop distance. The retained 2024 USD/JPY sample was used before; position sizing, compounding, live execution and an unseen holdout are not claimed.
Data, method and scope
Reuse 375702 retained Forexite USD/JPY M1 observations from the 2024 Trade/MetaStock archives. Fixed GMT+1 labels were shifted back one hour to UTC; minute labels are interval ends and H1 groups are (start,end]. The original daily ZIPs were not downloaded again.
The retained sample contains 6265 H1 bars: 6178 complete hours, 87 partial hours and 52 gaps before recorded hours. Calculations advance on every retained close, while candidates require the 30-hour complete adjacent union. No missing price is invented.
An integer deque calculation with Decimal 55 EMA/ATR and a separate prefix-sum/Fraction UO with Decimal 80 weighted-prefix EMA/ATR rebuild the hours, first daily candidates and fills. Exact rational R statistics agree; 75 boundary fixtures passed. Both programs were authored by the same assistant; there is no external human or terminal certification.
Downloads include both models, every attempt and rejection, all trades, frozen protocol, retained minute inputs, original archive hashes and both programs. CSV prices ending _micro are integer millionths of JPY/USD; divide by 1000000. Reproduction commands stay inside the method ZIP.
