A prior-window regression band is known before the signal close; a later refit is a different model. This fixed USD/JPY H1 test keeps 23 of 151 baseline trades. At 2 pips per round trip the totals are +5.72 R and +10.12 R: filtering reduces the total R as well as the closed-trade drawdown. These reused-year research sums are not account returns or a validated forecast.
1. Read the result and its coverage together
The baseline has 151 entries, +10.12 R and 9.92 R closed-trade drawdown at 2 pips. The fit gate retains 23 entries, +5.72 R and 2.92 R drawdown. It does not beat the baseline on total normalized profit in this sample. Neither model contains a conditional held-gap valuation here.
The filtered record has 11 net winners and 12 net losers. Its larger average winning payoff can coexist with a win share below 50%, but 23 trades on one reused year cannot establish a dependable edge. R sums do not specify account sizing, compounding or capital drawdown.
| Fixed model | Trades | Total net · R | Maximum drawdown · R | Profit factor · net R | Flagged next-open valuation |
|---|---|---|---|---|---|
| Baseline · no fit gate | 151 | +10.12 | 9.92 | 1.16 | 0 |
| R² ≥ 0.50 + aligned slope | 23 | +5.72 | 2.92 | 1.59 | 0 |
Closed-trade R sums are not account equity; neither model has a held-path gap here.
2. Freeze the prior fit before the closing breakout
Use January 2024 for initialization and test February–December. N=20, the multiplier 2 and the R² threshold 0.50 were fixed before replay. This is an explicitly defined RMS channel, not a claim to reproduce the MetaTrader drawing object’s maximum-close-deviation width.
- For each H1 observation t, fit the previous 20 recorded closes C[t −20]…C[t −1] with x=0…19. Least squares gives intercept a and slope b; evaluate μ=a +20 b. Sum training residual squares into SSE and set s=√(SSE/20). R²=1−SSE/SST when SST>0. Perfect lines have valid zero-width bands; constant closes have unavailable R². No epsilon or clipping is applied. ATR14 uses the first 14 True Ranges as its seed, then Wilder smoothing.
- Inspect closed H1 endpoints 07:00–15:00 UTC inclusive, Monday–Friday, without a seasonal shift. The first numerical closing excess consumes the date before quality, ATR, risk, fit gates, exact opening or position checks.
- Long requires close strictly above μ +2 s; short requires close strictly below μ −2 s. Equality is inside, and a wick alone is not a candidate. The comparison uses the exact sign and squared distance of close−μ against 4 × SSE/20; rounded displayed boundaries never determine the decision. There is no extra previous-close crossing condition.
- All 21 recorded H1 bars from the first training close through the signal must be complete and adjacent at one-hour intervals. ATR still inherits older retained history, including partial hours; the local window does not repair that earlier state.
- 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 additionally requires exact R² ≥ 0.50 and direction × b > 0. Equality at 0.50 passes; an unavailable R², flat slope or opposite slope rejects. The baseline omits both fit conditions and otherwise uses the same first candidate, risk and fills.
- 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.
x = 0 … 19; y = C[t−20 … t−1]; signal C[t] excluded
b = Σ((x−x̄)(y−ȳ)) / Σ((x−x̄)²); a = ȳ − b*x̄; μ[t] = a + 20b
s = √(Σ(y−a−b*x)² / 20); U/L = μ ± 2s
R² = 1 − SSE/SST; FILTER: R² ≥ 0.50 AND direction × b > 0
TR[t] = max(H−L, |H−C[t−1]|, |L−C[t−1]|); ATR14[t] = (13*ATR14[t−1] + TR[t])/14
3. Freeze ATR risk and minute-level exits
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.
Neither model has a held-path gap, truncation or same-minute stop/target tie in this replay. The rule still flags every missing held minute. Opening-based exits use an observed interval start; intraminute protective exits have only an interval and no known second. A target crossed at open is valued at the fixed target without favorable improvement, while an opening stop uses the observed open.
4. Inspect one fixed fit, then its losing and winning paths
The first retained signal is a long trade at 2024-02-16 14:00 UTC. Its close 150.510 exceeds the prior upper band 150.498055. The fit uses 2024-02-15 18:00 UTC through 2024-02-16 13:00 UTC: centre 150.323316, RMS 0.087370, slope +0.019602 and R² 0.625971. The selected residual/RMS is +2.136715. B marks the oldest training close; D marks the excluded, completed signal.

This first retained trade is also the first net loss. The exact next M1 open is 150.500, rounded risk 22.4 pips, stop 150.276 and target 150.948. Exit 150.276 occurs within 2024-02-16 15:17 UTC → 2024-02-16 15:18 UTC; its exact second is unknown. Net result after 2 pips: -1.089286 R.

The first retained net winner is a short trade from 2024-03-05 14:00 UTC, with R² 0.529690 and slope -0.006406. Entry 150.070, stop 150.242, target 149.726. At 2024-03-05 15:01 UTC, the observed open is 149.720; the target is conservatively valued at 149.726, giving +1.883721 R after 2 pips. The final minute shows only its known open.

5. Compare costs and the two calendar subperiods
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 4 pips the filtered total is +3.96 R and the baseline -1.14 R. These scenarios deduct once from the same reference trades. They do not move a signal, change initial R or choose a replacement. A stop can lose more than −1 R after costs; a gross 2 R target nets less than 2 R.
| All-in cost · pip per round trip | Fixed model | Trades | Total net · R | Net result · pip | Wins · % | Maximum drawdown · R | Profit factor · net R |
|---|---|---|---|---|---|---|---|
| 0 | Baseline · no fit gate | 151 | +21.37 | +653.0 | 51.0 | 6.06 | 1.38 |
| 0 | R² ≥ 0.50 + aligned slope | 23 | +7.47 | +124.9 | 47.8 | 2.58 | 1.83 |
| 2 | Baseline · no fit gate | 151 | +10.12 | +351.0 | 48.3 | 9.92 | 1.16 |
| 2 | R² ≥ 0.50 + aligned slope | 23 | +5.72 | +78.9 | 47.8 | 2.92 | 1.59 |
| 4 | Baseline · no fit gate | 151 | -1.14 | +49.0 | 44.4 | 14.30 | 0.98 |
| 4 | R² ≥ 0.50 + aligned slope | 23 | +3.96 | +32.9 | 47.8 | 3.37 | 1.38 |
At 2 pips, February–June has 10 filtered trades and +3.40 R; July–December has 13 and +2.32 R. These are diagnostic parts of the same history already used in earlier research, not independent or untouched validation sets.
| Calendar subperiod | Fixed model | Trades | Total net · R | Maximum drawdown · R | Flagged next-open valuation |
|---|---|---|---|---|---|
| February–June 2024 | Baseline · no fit gate | 73 | +2.43 | 9.92 | 0 |
| February–June 2024 | R² ≥ 0.50 + aligned slope | 10 | +3.40 | 2.21 | 0 |
| July–December 2024 | Baseline · no fit gate | 78 | +7.69 | 6.83 | 0 |
| July–December 2024 | R² ≥ 0.50 + aligned slope | 13 | +2.32 | 2.92 | 0 |

6. Keep rejected dates and missing paths visible
The first rejected baseline entry is a short trade at 2024-02-01 15:00 UTC: close 146.360, lower band 146.444550, R² 0.015050 and slope +0.003955. It fails R² first; its slope is also opposite to the short direction. The filtered model has no position or E/S/T levels. The separate baseline path nets +0.022026 R at 2 pips.
Among 200 first candidates, both models reject 44 for source quality and 5 for risk outside limits. Of the 151 baseline admissions, 66 fail R² first and 62 pass R² but fail slope alignment. These are first-applicable rejection counts. The gate also removes 62 net winners; a chosen rejection example cannot establish overall benefit.

| Decision / exit | Baseline · no fit gate | R² ≥ 0.50 + aligned slope |
|---|---|---|
| The 21 source hours are incomplete or nonadjacent | 44 | 44 |
| Risk distance outside 10–80 pips | 5 | 5 |
| R² is below 0.50 | 0 | 66 |
| Slope is flat or opposite to direction | 0 | 62 |
| Fixed model | Held minute-path coverage | Trades | Net contribution · R |
|---|---|---|---|
| Baseline · no fit gate | No held gap | 151 | +10.115 |
| Baseline · no fit gate | Flagged next-open valuation | 0 | +0.000 |
| R² ≥ 0.50 + aligned slope | No held gap | 23 | +5.719 |
| R² ≥ 0.50 + aligned slope | Flagged next-open valuation | 0 | +0.000 |
7. Inspect the decision before the later path
Each H1 curve point is that observed hour’s own prior 20 projection. The sequence is a rolling set of separate fits, not one line refitted across all visible history. Before the selected signal closes, its direction, decision, planned risk and full fit-components table remain hidden. H1 never reveals entry-based E/S/T or final outcome.
Open the selected-fit table after the signal to inspect all 20 training closes, fitted values and residuals. The separate fixed-fit image uses this one model for all its displayed residuals. The signal close is excluded. M1 is available only for an entered model; result appears at the exit observation, with later range hidden for an opening exit. Missing records are never fabricated.
Loading historical test…
- Selected observation · UTC
- —
- First closing breakout · H1 end UTC
- —
- Direction
- —
- Attempt status
- —
- Decision / exit
- —
- Close · JPY/USD
- —
- Prior 20 projected upper · JPY/USD
- —
- Prior 20 projected lower · JPY/USD
- —
- Prior 20 projected centre · JPY/USD
- —
- Residual RMS · √(SSE/20) · JPY/USD
- —
- Training R² · prior 20
- —
- Prior 20 slope · JPY/USD per recorded H1
- —
- Prior 20 intercept · JPY/USD
- —
- Close minus prior centre · JPY/USD
- —
- Observed H1 residual / RMS
- —
- Oldest training close · UTC
- —
- Newest training close · UTC
- —
- Local source-window quality
- —
- Fit conditions · filtered model
- —
- ATR14 · JPY/USD
- —
- Rounded initial distance · pip
- —
- E · entry reference
- —
- Modeled entry time · UTC
- —
- S · stop reference
- —
- T · target reference
- —
- X · exit reference
- —
- Modeled exit time · UTC
- —
- Exit observation interval · UTC
- —
- Exit time precision
- —
- Net result · R
- —
- Net result · pip
- —
- Held minute-path coverage
- —
Inspect the selected 20-close fit
20 training closes only; signal excluded. Displayed values are rounded. · C, ŷ, r: JPY/USD · r²: (JPY/USD)²
Same reference trades · cost deductions
Closed-trade R sums are not account equity; neither model has a held-path gap here.
Open the complete attempt record
8. State what this experiment establishes
R² describes fit to 20 past closes and the slope describes direction in that same sample. They are not independent evidence and do not provide a future win probability. Two residual RMS units are neither a confidence interval nor a prediction interval; a large standardized residual is not a calibrated probability event.
The 23 filtered trades, single pair and previously used year limit interpretation. No period, width, threshold, session or exit was optimized after the first replay. Lower closed-trade drawdown over fewer trades does not establish lower account risk. Changing the declared rules creates another study.
Frequently asked questions
Which close is excluded from the channel?
The signal close. Fit the preceding 20 closes at x=0…19 and evaluate their fixed line at x=20. A later refit including the signal changes the sample and cannot replace the earlier known boundary.
Can a rejected first breakout be replaced?
No. The first numerical closing breakout during 07:00–15:00 UTC consumes the date before quality, risk, R², slope or opening checks. Boundary equality and a wick alone do not consume it. A later candidate cannot replace a rejection.
How are the stop and target set?
Round 1.5 × signal ATR14 upward to a multiple of 0.001 JPY/USD and accept 10–80 pips inclusive; one pip is 0.01 JPY/USD. Measure the stop from the observed reference open of the exact next M1 interval and place the target 2 R away. If that record is missing, reject the attempt. These are modeled reference levels, not verified live fills.
Did the fit gate improve this result?
It retained 23 of 151 baseline trades: +5.72 R versus +10.12 R at 2 pips. Closed-trade drawdown fell from 9.92 R to 2.92 R, but total R also fell. This is a reused-year comparison, not proof of a safer account or dependable future advantage.
Are two RMS units a 95% interval?
No. Width is 2 × √(SSE/20), a descriptive training-residual measure. It differs from √(SSE/18), raw-close deviation and the MetaTrader drawing object’s maximum close deviation. No normality or verified future containment rate is claimed.
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 and calculation method
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 input reconstructs 6265 H1 bars: 6178 complete, 87 partial and 52 gaps before recorded hours. Every retained bar advances calculations; each candidate separately requires its 21-hour complete adjacent window. Slope counts recorded bars, which need not be clock hours across a gap. Calculated levels add no observed precision to the original two-decimal quotes.
The main calculation uses integer prefix sums, exact Fraction fits and squared-distance comparisons, with 60-digit roots and ATR. A separate program regroups minutes, fits centered direct windows, explicitly sums rational squared residuals and uses 80-digit roots/weighted-prefix ATR. Decisions, fills and Fraction metrics agree; 64 boundary fixtures passed. Both programs are by the same assistant, without 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.
