In simple terms
With this strategy, we buy EUR/USD when Williams %R recovers from its lower extreme zone and open a short position when it retreats from its upper zone. In both cases, Aroon must indicate that neither the recent high nor the recent low is fresh. We enter at the very next scheduled four-hour opening only if a quote is available at that exact time. We set a fixed ATR stop and close if it is hit. Otherwise, we plan to exit when Williams %R reaches the middle of its scale, after 30 H4 periods, or at the weekly cutoff, whichever comes first. Missing quotes can delay an exit.
On this page
Read the result with its trading frequency
With the Aroon condition, the base-cost account returns −4.07% over 2020–2025, with 4.65% maximum H4-close drawdown and 66 trades. Removing only that condition produces −9.08%, 14.41% drawdown and 547 trades. The respective net profit factors are 0.64 and 0.89. These are separately funded retrospective accounts, so a change in participation, cash and position sizes accompanies the comparison. A better headline value alone does not establish a reliable trading advantage. Even with every modeled cost removed, the filtered account returns −2.47%. In the later period it returns −3.40% versus −0.34% without Aroon. This is a smaller full-period loss with much lower participation, not a demonstrated profitable recovery system.
With the Aroon condition
- Net winners
- 35
- Net losers
- 31
Compare the same recovery rule with one condition removed
Each period starts flat with 10,000 USD. Both versions trade long and short, hold one position at a time, use the same completed-candle Williams %R signals, ATR stop, clocks, costs and sizing. The primary version additionally requires both Aroon lines below 50. The comparison version removes only that requirement; it still retains the same Aroon availability and shared warm-up. Separate account occupancy means the actual primary trades need not be a subset of the comparison ledger. Cash held without interest is a separate zero-return reference. Both indicators use the same Bid price history. This tests the effect of one additional condition; the readings are not independent evidence.
Williams %R measures the close within a changing price window
Use the highest Bid high and lowest Bid low over the latest 14 observed H4 buckets, including the current bucket. Williams %R is −100 at the window low, 0 at the high and −50 at its midpoint. Each reading uses its own window. A zero-width window is unavailable and cannot supply one side of a crossing. Source prices are parsed as exact integer millionths; threshold decisions compare integer numerators and denominators, rather than rounded chart labels. A displayed value on a boundary can conceal a small difference.
WR_t = −100 × (HH14_t − C_t) / (HH14_t − LL14_t)
Aroon measures the age of extremes, not the width of a range
Aroon25 uses the current observed H4 bucket and 25 earlier buckets: 26 observations. For each extreme, choose its most recent occurrence, including ties, and count its age from 0 to 25 observed buckets. Both lines below 50 mean that both extremes are at least 13 observations old. With this convention, the values move in steps of 4: 48 qualifies and 52 does not; exactly 50 cannot occur. This suggests that neither extreme is fresh. It does not prove low volatility, a narrow price range or a coming reversal.
AroonUp25 = 4 × (25 − ageHigh); AroonDown25 = 4 × (25 − ageLow)
ageHigh, ageLow ∈ {0, 1, …, 25}; Up < 50 AND Down < 50
Use symmetric completed-candle entry conditions
For a long, require previous Williams %R at or below −80, current Williams %R above −80 and still below −50. For a short, require the previous reading at or above −20, the current reading below −20 and still above −50. Both Aroon lines must currently be below 50 for the primary rule. Both crossing buckets must be adjacent UTC H4 intervals with all 240 source minutes present. There must be at least 100 observed buckets of history and a positive ATR14. Enter at the immediately next scheduled opening only if an actual source minute starts there and the modeled weekly session is open. Otherwise cancel the entry.
Long: WR_(t−1) ≤ −80 < WR_t < −50
Short: WR_(t−1) ≥ −20 > WR_t > −50
Keep the stop fixed and separate the exit clocks
At entry, set the protective level 2 times the signal ATR14 away from the modeled fill. The stop never trails, and there is no fixed profit target. For a long, a completed Williams %R at or above −50 queues an exit at the next opening; for a short, use a reading at or below −50. The exit signal may come from a completed partial bucket, which remains flagged. Also plan to close after 30 scheduled H4 periods, at Friday 17:00 New York time, or at period end. The earliest applicable deadline wins. A scheduled period is elapsed time, not a count of observed candles. Once queued, the oscillator exit stays active through missing quotes, later oscillator changes and unavailable readings until an eligible fill or a higher-priority exit.
SL_Bid,long = E_f − 2 × ATR14; SL_Ask,short = E_f + 2 × ATR14
Preserve weekends, partial buckets and exact availability
The source timestamps use fixed EST without daylight saving changes; add 5 hours to obtain UTC. Build H4 buckets at 00, 04, 08, 12, 16 and 20 UTC from actual minute observations. Keep partial buckets in indicator history and never invent missing prices. Indicator windows and ATR smoothing advance over observed buckets across market closures. Entry crossings alone need two adjacent complete buckets; 100 observed buckets of warm-up does not mean 100 consecutive full buckets. A bucket is available at its scheduled end, even when its last source quote arrived earlier. Data flags do not automatically identify a feed error.
TR_t = max(H_t−L_t, |H_t−C_(t−1)|, |L_t−C_(t−1)|)
ATR14_t = (13 × ATR14_(t−1) + TR_t) / 14
Size a hypothetical USD contract account
Planned stop risk is 1% of equity immediately before entry. Unit loss includes the fixed stop distance, adverse exit slippage and commissions on both legs. Quantity is limited by that risk budget and a maximum notional equal to account equity, with entry commission included in the cap. EUR notional represents contract exposure; it is not deducted as if physical euros had been purchased. Future financing is not known when sizing. Financing, a gap through the stop and missing quotes can therefore make the actual loss exceed the planned risk. Fractional EUR quantities are allowed; broker lot, margin and liquidation rules are not reconstructed. In the formulas, d is +1 for a long and −1 for a short, c is the per-leg commission per EUR, u is adverse slippage per EUR, and B is the flat pre-entry USD balance.
L_unit = 2 × ATR14 + u + 2c
q = min[0.01 × B / L_unit, B / (E_f + c)]
P_net = d × q × (X_f − E_f) − 2qc − q × carry × units
R_net = P_net / (q × L_unit)
E_f: Modeled entry fill · USD per EUR · B: Uninvested cash · R_net: Net result · R · P_net: Net P&L · USD
Model Bid/Ask costs explicitly
One pip is 0.0001 USD per EUR. Base assumptions are 1.50 pips of spread, 0.10 pip of adverse slippage per leg, 0.25 pip of commission per leg and a 0.50-pip financing debit per rollover unit. Higher costs use 3.00 pips, 0.30 pip, 0.50 pip and 1.00 pip respectively. Ask is modeled as Bid plus the scenario spread; historical Ask quotes and spreads are not observed. Financing is a research debit for either direction at weekday 17:00 New York time, with 3 units on Wednesday and 1 on other weekdays. Holiday value dates and actual swaps are not reconstructed. Full-period primary return changes from −2.47% without modeled costs to −4.07% at base costs and −5.37% at higher costs.
E_long = BidOpen + spread + u; E_short = BidOpen − u
X_f = quoteExit − d × u
X_f: Modeled exit fill · USD per EUR · E_f: Modeled entry fill · USD per EUR
Full-period sensitivity to modeled costs
| Account / period | Net return · % | Commissions · USD | Financing debit · USD | Rollover units | Trades limited by the notional cap |
|---|---|---|---|---|---|
| With the Aroon condition · No modeled costs | −2.47 | 0.00 | 0.00 | 63 | 63 |
| Without the Aroon condition · No modeled costs | +2.02 | 0.00 | 0.00 | 561 | 530 |
| With the Aroon condition · Base costs | −4.07 | 28.86 | 26.45 | 60 | 63 |
| Without the Aroon condition · Base costs | −9.08 | 226.56 | 232.92 | 563 | 530 |
| With the Aroon condition · Higher costs | −5.37 | 57.35 | 51.66 | 59 | 63 |
| Without the Aroon condition · Higher costs | −20.68 | 425.51 | 430.02 | 558 | 533 |
Read account value and exposure using the stated mark
The equity curves sample the last observed H4 mark per UTC day. Reported drawdown uses every H4 mark and includes the initial cash peak; it is not a continuous intraminute maximum. An open contract is marked on Bid for a long and modeled Ask for a short, with entry commission and accrued financing. Future exit commission and exit slippage are charged when the modeled exit occurs, so this mark is not a fully costed net-liquidation quote. At a shared cutoff, completed-close exits are included before opening events. Observed-bucket occupancy is 2.44% for the primary and 22.73% for the comparison; it is not exact elapsed-time or capital-weighted exposure. The primary version has positions in a much smaller share of observed H4 buckets. Its smaller drawdown therefore does not establish superior results at matched market exposure or risk.
Account paths with and without the Aroon condition
Keep early and later accounts separate
The full, early and later periods cover 2020–2025, 2020–2022 and 2023–2025. Each starts independently flat with 10,000 USD while retaining indicator history from the stated warm-up. Primary returns are −0.70% early and −3.40% later, versus −8.77% and −0.34% without the Aroon condition. Under higher costs, the later primary result is −4.14%. The three-year split is retrospective and reuses known historical prices; it is not prospective validation. A period with few trades supplies limited evidence regardless of its return.
| Account / period | Net return · % | H4-close drawdown · % | Closed trades | Net profit factor | Observed-candle occupancy · % |
|---|---|---|---|---|---|
| With the Aroon condition · Base costs · 2020–2025 | −4.07 | 4.65 | 66 | 0.64 | 2.44 |
| With the Aroon condition · No modeled costs · 2020–2025 | −2.47 | 3.32 | 66 | 0.77 | 2.50 |
| With the Aroon condition · Higher costs · 2020–2025 | −5.37 | 5.73 | 66 | 0.54 | 2.39 |
| Without the Aroon condition · Base costs · 2020–2025 | −9.08 | 14.41 | 547 | 0.89 | 22.73 |
| Without the Aroon condition · No modeled costs · 2020–2025 | +2.02 | 11.00 | 547 | 1.03 | 22.93 |
| Without the Aroon condition · Higher costs · 2020–2025 | −20.68 | 20.81 | 550 | 0.74 | 22.51 |
| Uninvested cash · 2020–2025 | 0.00 | 0.00 | — | — | 0.00 |
| With the Aroon condition · Base costs · 2020–2022 | −0.70 | 3.65 | 30 | 0.87 | 2.17 |
| With the Aroon condition · No modeled costs · 2020–2022 | −0.14 | 3.32 | 30 | 0.97 | 2.17 |
| With the Aroon condition · Higher costs · 2020–2022 | −1.29 | 4.01 | 30 | 0.76 | 2.07 |
| Without the Aroon condition · Base costs · 2020–2022 | −8.77 | 14.41 | 274 | 0.80 | 22.73 |
| Without the Aroon condition · No modeled costs · 2020–2022 | −3.61 | 11.00 | 274 | 0.92 | 22.85 |
| Without the Aroon condition · Higher costs · 2020–2022 | −14.85 | 18.74 | 276 | 0.68 | 22.48 |
| Uninvested cash · 2020–2022 | 0.00 | 0.00 | — | — | 0.00 |
| With the Aroon condition · Base costs · 2023–2025 | −3.40 | 3.98 | 36 | 0.44 | 2.72 |
| With the Aroon condition · No modeled costs · 2023–2025 | −2.33 | 3.11 | 36 | 0.58 | 2.82 |
| With the Aroon condition · Higher costs · 2023–2025 | −4.14 | 4.50 | 36 | 0.35 | 2.72 |
| Without the Aroon condition · Base costs · 2023–2025 | −0.34 | 6.97 | 273 | 0.99 | 22.74 |
| Without the Aroon condition · No modeled costs · 2023–2025 | +5.84 | 4.76 | 273 | 1.16 | 23.01 |
| Without the Aroon condition · Higher costs · 2023–2025 | −6.84 | 10.60 | 274 | 0.83 | 22.55 |
| Uninvested cash · 2023–2025 | 0.00 | 0.00 | — | — | 0.00 |
Keep source and execution limits visible
After retaining observations from June 2019 through the evaluation end, the seven verified annual archives provide 2,399,290 normalized M1 observations and 10,596 observed H4 buckets, including 3,258 partial buckets. They contain 86,209 unobserved minutes within the modeled weekly session. The primary full-period ledger flags 31 trades crossing such minutes, 40 touching partial holding buckets and 66 whose entry lookback includes a partial bucket. Source volume is a placeholder and is discarded. Stop touches identify a one-minute interval, not an exact tick. At an observed opening, a breached stop takes priority over a due exit; no path inside a missing interval is invented. Time, weekly and terminal exits use the source minute close at the cutoff when it is available, otherwise an available opening at or after the deadline and before period end. If no eligible quote remains, use the last actual in-period close and flag an early terminal proxy. Quotes beyond period end are never used.
| Account / period | With the Aroon condition | Without the Aroon condition |
|---|---|---|
| Trades across missing intervals | 31 | 305 |
| Trades touching partial holding buckets | 40 | 377 |
| Trades with a partial entry lookback | 66 | 547 |
| Entries canceled without an opening quote | 1 | 5 |
Read the first chronological trades
The first completed early-period primary trade enters at 2020-01-08 00:00 UTC and realizes −1.000 R after costs. The first completed later-period primary trade enters at 2023-02-10 08:00 UTC and realizes −1.000 R. These examples show execution, rather than an average or a representative outcome. All candles show source Bid prices. S marks the completed signal; E and X mark raw Bid references. For a short, the protective line is the Bid equivalent of the modeled Ask stop; the reader retains the actual Ask stop. Modeled fills account for the spread on the relevant quote side, with adverse slippage on each leg.
First completed early-period primary trade
Modeled exit time or interval: [2020-01-08 12:57, 2020-01-08 12:58) UTC · Stop touched within this source minute; exact tick time unknown
Candles use even observed-index spacing. Dashed lines mark compressed calendar gaps; outlined bodies indicate partial buckets. Indicator lines break at unavailable values. All candle prices are Bid. For shorts, the protective line is the modeled Ask stop minus the scenario spread.
S: completed signal · E: Bid entry reference · X: Bid exit reference · SL: protective Bid-equivalent line
Choose a candle, move the slider or use arrow keys. Prices and stop levels use 5 decimals, ATR uses 6, oscillators use 2 and extreme ages use whole numbers. Axes, S/E/X and the protective line stay fixed. Unavailable readings remain unavailable.
- Actual stop trigger quote
- Observed Bid
- H4 interval opens · UTC
- 2020-01-07 20:00 UTC
- Scheduled H4 end · UTC
- 2020-01-08 00:00 UTC
- Complete 240-minute H4 coverage
- Yes
- Bid open
- 1.11446
- Bid high
- 1.11544
- Bid low
- 1.11423
- Bid close
- 1.11540
- Williams %R14
- −71.53
- Aroon Up25
- 4.00
- Aroon Down25
- 36.00
- Age of high · observed buckets
- 24
- Age of low · observed buckets
- 16
- ATR14 · USD per EUR
- 0.002027
- Actual fixed stop · exit quote side
- 1.11150
- Protective line · Bid equivalent
- 1.11150
| H4 interval opens · UTC | Direction | Modeled entry fill · USD per EUR | Modeled exit fill · USD per EUR | Net P&L · USD | Net result · R |
|---|---|---|---|---|---|
| 2020-01-08 00:00 UTC | Long | 1.11555 | 1.11149 | −36.88 | −1.000 |
First completed later-period primary trade
Modeled exit time or interval: [2023-02-10 12:54, 2023-02-10 12:55) UTC · Stop touched within this source minute; exact tick time unknown
Candles use even observed-index spacing. Dashed lines mark compressed calendar gaps; outlined bodies indicate partial buckets. Indicator lines break at unavailable values. All candle prices are Bid. For shorts, the protective line is the modeled Ask stop minus the scenario spread.
S: completed signal · E: Bid entry reference · X: Bid exit reference · SL: protective Bid-equivalent line
Choose a candle, move the slider or use arrow keys. Prices and stop levels use 5 decimals, ATR uses 6, oscillators use 2 and extreme ages use whole numbers. Axes, S/E/X and the protective line stay fixed. Unavailable readings remain unavailable.
- Actual stop trigger quote
- Observed Bid
- H4 interval opens · UTC
- 2023-02-10 04:00 UTC
- Scheduled H4 end · UTC
- 2023-02-10 08:00 UTC
- Complete 240-minute H4 coverage
- Yes
- Bid open
- 1.07206
- Bid high
- 1.07445
- Bid low
- 1.07171
- Bid close
- 1.07408
- Williams %R14
- −61.23
- Aroon Up25
- 4.00
- Aroon Down25
- 36.00
- Age of high · observed buckets
- 24
- Age of low · observed buckets
- 16
- ATR14 · USD per EUR
- 0.002960
- Actual fixed stop · exit quote side
- 1.06834
- Protective line · Bid equivalent
- 1.06834
| H4 interval opens · UTC | Direction | Modeled entry fill · USD per EUR | Modeled exit fill · USD per EUR | Net P&L · USD | Net result · R |
|---|---|---|---|---|---|
| 2023-02-10 08:00 UTC | Long | 1.07426 | 1.06833 | −55.66 | −1.000 |
Disclose how the third illustration was selected
The third illustration is the first later-period primary trade whose net result has the opposite sign to the first later example. If none exists, use the next later trade; if that is unavailable too, show the absence. Its entry is 2023-08-08 20:00 UTC and its result is +0.188 R. Choosing an opposite sign is explicitly conditioned on the completed outcome for teaching purposes, not an unbiased performance sample. The selection rule was set before calculation. Twenty observed buckets before the signal and three after the exit provide context. The cursor changes displayed candle values while the axes, trade markers and protective line remain fixed.
Third later-period teaching example
Selection used here: first later trade with the opposite net-result sign; explicitly conditioned on the completed outcome.
Modeled exit time or interval: 2023-08-09 08:00 UTC · Exit at an observed opening
Candles use even observed-index spacing. Dashed lines mark compressed calendar gaps; outlined bodies indicate partial buckets. Indicator lines break at unavailable values. All candle prices are Bid. For shorts, the protective line is the modeled Ask stop minus the scenario spread.
S: completed signal · E: Bid entry reference · X: Bid exit reference · SL: protective Bid-equivalent line
Choose a candle, move the slider or use arrow keys. Prices and stop levels use 5 decimals, ATR uses 6, oscillators use 2 and extreme ages use whole numbers. Axes, S/E/X and the protective line stay fixed. Unavailable readings remain unavailable.
- Actual stop trigger quote
- Observed Bid
- H4 interval opens · UTC
- 2023-08-08 16:00 UTC
- Scheduled H4 end · UTC
- 2023-08-08 20:00 UTC
- Complete 240-minute H4 coverage
- Yes
- Bid open
- 1.09456
- Bid high
- 1.09609
- Bid low
- 1.09414
- Bid close
- 1.09594
- Williams %R14
- −73.07
- Aroon Up25
- 48.00
- Aroon Down25
- 16.00
- Age of high · observed buckets
- 13
- Age of low · observed buckets
- 21
- ATR14 · USD per EUR
- 0.002786
- Actual fixed stop · exit quote side
- 1.09053
- Protective line · Bid equivalent
- 1.09053
| H4 interval opens · UTC | Direction | Modeled entry fill · USD per EUR | Modeled exit fill · USD per EUR | Net P&L · USD | Net result · R |
|---|---|---|---|---|---|
| 2023-08-08 20:00 UTC | Long | 1.09610 | 1.09726 | +9.50 | +0.188 |
Distinguish calendar returns from closed-trade sums
Annual returns compare successive year-end H4 account marks in the same funded account. Each bucket belongs to its opening UTC calendar year, including the final December bucket whose value becomes available on January 1. Returns include open-position marks and compounding; they are not sums of trade percentages. Holding time uses scheduled four-hour periods, including closures and quote gaps. Cash without interest stays at 10,000 USD. No passive currency position is presented as a risk-matched comparator.
V_t = B − qc + d × q × (quoteClose_t − E_f) − accruedCarry
B: Uninvested cash · C_t: Bid close
Calendar account returns · base costs
| UTC candle year | With the Aroon condition | Without the Aroon condition |
|---|---|---|
| 2020 | −1.42 | −10.77 |
| 2021 | −0.90 | −1.37 |
| 2022 | +1.65 | +3.66 |
| 2023 | −2.36 | +1.41 |
| 2024 | −0.27 | +1.45 |
| 2025 | −0.80 | −3.12 |
Rebuild the evidence before using the rule
The frozen protocol specifies source normalization, exact thresholds, event priorities, costs and all 18 account runs. Downloads include the seven-file source manifest, H4 inputs and readings, all scenario trades, compact displayed evidence and two separately implemented rebuild scripts. Original M1 archives must be acquired separately from the provider and checked against the published hashes. This is a controlled retrospective comparison of one Aroon condition on a fixed recovery rule. It does not establish a live track record or guarantee that either version will work in future markets.
Frequently asked questions
Do both Aroon lines below 50 prove the market is ranging?
No. In this 26-observation convention, the high and low are both at least 13 observations old. Aroon measures their age, not the size of price moves. The filter does not guarantee a narrow range, low volatility or a successful rebound.
Is this the same Williams %R rule as the Bitcoin study?
No. This EUR/USD study tests recovery from −80 for longs and retreat from −20 for shorts, with the current reading still on the entry side of −50. The Bitcoin study uses a different midline entry and MFI confirmation. Their returns cannot isolate the difference between Aroon and MFI.
Why use 26 observations for Aroon25?
The formula permits an extreme age from 0 to 25. That requires the current bucket plus 25 predecessors. The newest tied extreme wins. Values are exact multiples of 4, so requiring both current readings to be below 50 means each must be 48 or less. The chosen convention is explicit because implementations can differ.
Does the no-cost result describe an achievable account?
No. It removes all modeled spread, slippage, commission and financing and reruns the account. Base and higher costs also rebuild fills, stops, quantities and account occupancy. The source provides Bid bars, so historical Ask execution is not observed.
Does planned 1% risk cap every realized loss at 1%?
No. Sizing includes the initial stop and modeled commissions and exit slippage, but future financing and gaps can add losses. The notional cap can make the planned risk smaller. Actual broker constraints and missing intraminute paths remain outside the reconstruction.
Why are weekend and partial buckets retained?
They are real source observations, not complete four-hour coverage. They remain in rolling indicator history and are flagged. Entry crossings need two complete adjacent buckets, while exit signals may use a completed partial bucket. No missing candles are filled, and the timed exit may wait for an available quote.
Primary sources
Download data and reproduction files
Obtain the seven named original EUR/USD M1 ZIPs separately from HistData. Put them in raw, then run each standalone script with the frozen protocol. The scripts verify the archive hashes and rebuild all scenario ledgers and H4 marks. Raw minute archives are not redistributed here. The primary script requires NumPy; the independent script uses the Python standard library.
python3 eurusd-wr-aroon-range-replay.py --protocol eurusd-wr-aroon-range-protocol.json --raw raw --output replay.json.gz
python3 eurusd-wr-aroon-range-independent-check.py --protocol eurusd-wr-aroon-range-protocol.json --raw raw --output independent.json.gzCopying or republication without attribution and an active link to the original material is prohibited. Usage policy.
Research limits
Retrospective educational research with modeled execution. Historical Bid bars do not reveal actual Ask prices, broker swaps, missing paths or future performance. The Aroon condition measures the age of extremes and does not certify a trading range.