Independent market intelligence
Research over noise · Risk before return
FOREX STRATEGY RESEARCH

EUR/USD H4 Williams %R + Aroon: does the filter help?

We test Williams %R recovery signals on EUR/USD with both Aroon lines below 50. At base costs, the filtered 2020–2025 account returns −4.07% versus −9.08% without that condition. It trades far less and has lower drawdown, yet loses even without modeled costs and fares worse than the control in the later period.

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
01

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
02

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.

03

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)

04

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

05

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

06

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

07

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

08

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

09

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

With the Aroon conditionWithout the Aroon condition
Full-period sensitivity to modeled costs0.00%No modeled costs−2.47%+2.02%Base costs−4.07%−9.08%Higher costs−5.37%−20.68%
Realized commissions and financing · full period
Account / periodNet return · %Commissions · USDFinancing debit · USDRollover unitsTrades limited by the notional cap
With the Aroon condition · No modeled costs−2.470.000.006363
Without the Aroon condition · No modeled costs+2.020.000.00561530
With the Aroon condition · Base costs−4.0728.8626.456063
Without the Aroon condition · Base costs−9.08226.56232.92563530
With the Aroon condition · Higher costs−5.3757.3551.665963
Without the Aroon condition · Higher costs−20.68425.51430.02558533
Each bar is a complete account rerun with the same initial capital. Spread, slippage, commission and financing are modeled scenarios, not reconstructed historical broker costs.
10

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

With the Aroon conditionWithout the Aroon condition
Account paths with and without the Aroon condition8,4208,8579,2959,73210,169USD202020232026
Separate base-cost USD contract accounts begin at 10,000 USD. Curves use the last H4 mark per UTC day; reported drawdown uses every H4 mark. Future exit costs are charged only when filled.
11

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.

All scenario accounts and cash reference
Account / periodNet return · %H4-close drawdown · %Closed tradesNet profit factorObserved-candle occupancy · %
With the Aroon condition · Base costs · 2020–2025−4.074.65660.642.44
With the Aroon condition · No modeled costs · 2020–2025−2.473.32660.772.50
With the Aroon condition · Higher costs · 2020–2025−5.375.73660.542.39
Without the Aroon condition · Base costs · 2020–2025−9.0814.415470.8922.73
Without the Aroon condition · No modeled costs · 2020–2025+2.0211.005471.0322.93
Without the Aroon condition · Higher costs · 2020–2025−20.6820.815500.7422.51
Uninvested cash · 2020–20250.000.00——0.00
With the Aroon condition · Base costs · 2020–2022−0.703.65300.872.17
With the Aroon condition · No modeled costs · 2020–2022−0.143.32300.972.17
With the Aroon condition · Higher costs · 2020–2022−1.294.01300.762.07
Without the Aroon condition · Base costs · 2020–2022−8.7714.412740.8022.73
Without the Aroon condition · No modeled costs · 2020–2022−3.6111.002740.9222.85
Without the Aroon condition · Higher costs · 2020–2022−14.8518.742760.6822.48
Uninvested cash · 2020–20220.000.00——0.00
With the Aroon condition · Base costs · 2023–2025−3.403.98360.442.72
With the Aroon condition · No modeled costs · 2023–2025−2.333.11360.582.82
With the Aroon condition · Higher costs · 2023–2025−4.144.50360.352.72
Without the Aroon condition · Base costs · 2023–2025−0.346.972730.9922.74
Without the Aroon condition · No modeled costs · 2023–2025+5.844.762731.1623.01
Without the Aroon condition · Higher costs · 2023–2025−6.8410.602740.8322.55
Uninvested cash · 2023–20250.000.00——0.00
12

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.

Full-period quality flags · base costs
Account / periodWith the Aroon conditionWithout the Aroon condition
Trades across missing intervals31305
Trades touching partial holding buckets40377
Trades with a partial entry lookback66547
Entries canceled without an opening quote15
13

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

First completed early-period primary trade1.108911.112131.115361.118581.12180EUR/USD · source Bid · USD per EURWilliams %R14 · −100 to 0Aroon Up / Down25 · 0 to 100Aroon Up25Aroon Down25−100−80−50−2000205080100Compressed calendar gapSLSEX2020-01-02 16:002020-01-06 20:002020-01-09 00:00

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
Trade direction, modeled fills and net result
H4 interval opens · UTCDirectionModeled entry fill · USD per EURModeled exit fill · USD per EURNet P&L · USDNet result · R
2020-01-08 00:00 UTCLong1.115551.11149−36.88−1.000
First chronological early-period trade: 2020-01-08 00:00 UTC, net −1.000 R. Candles and E/X references use Bid; fills include the modeled costs. A short protective line is shown in Bid-equivalent terms.

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

First completed later-period primary trade1.065111.068981.072841.076701.08057EUR/USD · source Bid · USD per EURWilliams %R14 · −100 to 0Aroon Up / Down25 · 0 to 100Aroon Up25Aroon Down25−100−80−50−2000205080100Compressed calendar gapSLSEX2023-02-06 20:002023-02-09 00:002023-02-12 20:00

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
Trade direction, modeled fills and net result
H4 interval opens · UTCDirectionModeled entry fill · USD per EURModeled exit fill · USD per EURNet P&L · USDNet result · R
2023-02-10 08:00 UTCLong1.074261.06833−55.66−1.000
First chronological later-period trade: 2023-02-10 08:00 UTC, net −1.000 R. S/E/X and the protective line remain fixed as the reader cursor moves.
14

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

Third later-period teaching example1.088891.093121.097361.101591.10583EUR/USD · source Bid · USD per EURWilliams %R14 · −100 to 0Aroon Up / Down25 · 0 to 100Aroon Up25Aroon Down25−100−80−50−2000205080100Compressed calendar gapSLSEX2023-08-03 12:002023-08-07 16:002023-08-09 20:00

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
Trade direction, modeled fills and net result
H4 interval opens · UTCDirectionModeled entry fill · USD per EURModeled exit fill · USD per EURNet P&L · USDNet result · R
2023-08-08 20:00 UTCLong1.096101.09726+9.50+0.188
Prespecified third illustration: first later trade with the opposite net-result sign, or the next chronological later trade if no opposite sign exists. Entry: 2023-08-08 20:00 UTC; net result: +0.188 R. Selection may be conditioned on the outcome and is not an unbiased sample.
15

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

With the Aroon conditionWithout the Aroon condition
Calendar account returns · base costs−10.77%−5.39%0.00%5.39%10.77%202020212022202320242025
Calendar account returns · base costs
UTC candle yearWith the Aroon conditionWithout 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
Percent changes between year-end H4 marks. The final December interval belongs to its opening year. Open contracts are marked on Bid or modeled Ask with accrued financing; returns compound.
16

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.gz

Created by the MyProfitFactor editorial team.

Copying 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.