In simple terms
We open a long position when Aroon Up crosses above Aroon Down on a completed H4 candle and price is above EMA200, or a short after the opposite cross when price is below EMA200. Entry requires an actual source minute at the next scheduled H4 opening. The model account is denominated in JPY. Recent extremes do not by themselves establish a profitable strategy.
On this page
The question and the frozen historical test
Does the recency of highs and lows add useful trading information to an exponential moving-average gate after explicit costs? We froze Aroon25, EMA200 and all execution rules on 12 November 2026 before reading or processing EUR/JPY prices for this new study. Original archives had previously been acquired for unrelated research; they were verified and reused after this specification was frozen. The continuous account covers 2020–2025; independent early and later accounts cover 2020–2022 and 2023–2025. Each subperiod has three calendar years and starts flat. These dates had already passed, so the later period is retrospective rather than prospectively unseen. We do not search thresholds or replace the primary rule with the best comparison.
Bid quotes, UTC candles and missing observations
Inputs are 7 annual HistData Generic ASCII M1 archives for 2019–2025. The provider timestamps use fixed EST, UTC−05:00 without daylight-saving changes; adding five hours gives UTC. We retain observations from June 2019 for warm-up, then aggregate actual one-minute Bid OHLC into H4 buckets anchored at 00, 04, 08, 12, 16 and 20 UTC. Partial session and holiday buckets remain visible with their observation counts. A bucket opening label does not prove a quote existed at that exact time. Its information becomes available only four hours after its anchor. We do not invent flat replacement minutes or candles, and the source volume placeholder is not measured trading volume.
Retained input checks
- Verified annual source archives
- 7
- Observed source minutes including warm-up
- 2,400,258
- Observed evaluated H4 buckets
- 9,652
- Unobserved in-session minutes
- 85,345
- Partial H4 buckets
- 2,364
- Duplicate timestamps
- 420
- Invalid source rows
- 0
Source times are converted from fixed EST to UTC. Warm-up begins in June 2019. Partial buckets remain observed aggregates; they do not imply complete quote coverage. No source volume is treated as measured market volume. Byte-identical repeated timestamp rows are retained once; conflicting repeats are rejected. The input checks retain raw duplicate counts.
Aroon25: 26 observed candles and the most recent extreme
Our period of 25 means 25 intervals: the current observed H4 candle and its 25 preceding observed candles, for a 26-candle window. Find the highest Bid high and lowest Bid low in that window. If an extreme appears more than once, use its most recent occurrence. Its age is the observed-bar index distance, from 0 to 25, rather than elapsed hours. Aroon Up = 4 × (25 − age of high); Aroon Down = 4 × (25 − age of low). Exact source-price integers determine ties, and both lines take integer values 0, 4, 8, …, 100. Age 0 gives 100, age 25 gives 0, and ages 12 and 13 give 52 and 48. Under this convention exactly 50 is unattainable even on H4. If all 26 candles have identical highs and lows, both ages are 0 and both lines are 100; that alone does not establish a trend or a strict cross.
H* = max(H_(t−25),…,H_t); L* = min(L_(t−25),…,L_t)
age_high = min{j ∈ [0,25]: H_(t−j)=H*}; age_low = min{j ∈ [0,25]: L_(t−j)=L*}
Up = 4 × (25 − age_high); Down = 4 × (25 − age_low); Up,Down ∈ {0,4,…,100}
EMA200 sets direction; ATR14 sets the price distance
Seed EMA200 with the arithmetic mean of the first 200 observed closes, then update with weight 2/201. The directional gate requires the current close strictly above EMA200 for a long or strictly below it for a short; equality fails. No EMA slope, 50/70/30 Aroon threshold or later confirmation is added. ATR14 begins with true range: high minus low for the first observed candle, then the maximum of high minus low and the absolute high/low distances from the preceding observed close. Seed ATR with the mean of the first 14 true ranges, then use Wilder weight 1/14. ATR must be positive. Indicator windows follow observed candles across gaps, so their bar ages are not a claim of uninterrupted four-hour observations.
EMA200_t = EMA200_(t−1) + (2/201) × (C_t − EMA200_(t−1))
ATR14_t = [13 × ATR14_(t−1) + TR_t] / 14
Completed Aroon crosses and immediate entries
When flat, a long signal requires the preceding Aroon Up at or below Down and the current Up strictly above Down, with the current close above EMA200. A short reverses those inequalities and requires price below EMA200. The two H4 bucket anchors must be exactly four hours apart; crosses across missing buckets, including weekends, are rejected. All required indicators must be defined and ATR positive. Enter only when an actual M1 quote exists exactly at the immediately next scheduled H4 opening. Long entry uses modeled Ask plus adverse slippage; short entry uses Bid minus slippage. A missing opening cancels entry rather than delaying it. Positions never overlap. An old position exiting at that same opening cannot be followed by immediate re-entry. A position exited within the preceding minute, or exactly at that minute’s completed close, may use the fresh signal at the cutoff; an intraminute exit starting at the cutoff has not yet left the account flat at the opening.
Long: Up_(t−1) ≤ Down_(t−1); Up_t > Down_t; C_t > EMA200_t
Short: Up_(t−1) ≥ Down_(t−1); Up_t < Down_t; C_t < EMA200_t
open_time_t − open_time_(t−1) = 14400 s
Fixed price levels and the holding deadline
D_price is twice the signal ATR14. For a long, set stop SL to modeled entry E minus D_price and target T to E plus two such distances; for a short, set SL above entry and T below it by the corresponding distances. Keep these positive levels fixed. An opposite Aroon cross or a change in the price/EMA relationship does not close the trade. The deadline is the earliest of 30 scheduled four-hour slots after entry, Friday 17:00 in America/New_York, or the account period end. Thus the weekly close can shorten the five-day maximum. Use the source minute closing exactly at a deadline when present; otherwise use the first later observed opening, subject to opening-barrier priority. Never use a quote outside the evaluated period: the terminal fallback records the last observed in-period close and its actual source time.
D_price = 2 × ATR14_signal
Long: SL = E − D_price; T = E + 2 × D_price
Short: SL = E + D_price; T = E − 2 × D_price
Minute execution, opening gaps and unknown order
All exits scan observed M1 rows. Long barriers use source Bid; short barriers use modeled Ask, formed by adding the scenario spread to Bid. Check each opening before the minute high and low. An opening already beyond a barrier supplies the exit reference, then adverse exit slippage is applied. If the opening is between the levels and both barriers touch within the same minute, their order is unknown: the primary uses stop first and a separate target-first bound retains that uncertainty. We do not infer a tick path. Barrier checks precede a timed liquidation. At a delayed deadline opening, check opening barriers before the timed exit and do not use that minute’s later range. An intraminute exit denotes a one-minute interval, while opening and modeled completed-minute close events remain distinct.
Contract-account sizing and the planned stop budget
Each account starts with 1,000,000 JPY. A contract’s EUR notional is exposure, not cash spent buying physical currency. We allow fractional EUR and one long or short position, with notional capped at one times pre-entry equity. Nominal stop risk is up to 1% of that equity. The per-EUR planned loss L_unit is D_price plus adverse exit slippage and both commissions; future financing is unknown at entry and excluded from this denominator. Quantity is the smaller of the risk budget divided by L_unit and the equity-based notional cap. The full primary account has 152 notional-capped trades. Entry commission reduces balance; equity adds the open contract’s directional liquidation P&L and subtracts accrued financing. Net R is final net P&L divided by (quantity × L_unit). All balances, P&L, commissions and financing are in JPY; no USD conversion or third currency pair is used. Financing or an opening gap can push a loss beyond the planned 1% budget. Historical broker lot limits and margin closeouts are not reconstructed.
L_unit = D_price + slippage_price + 2 × commission_per_EUR
q_EUR = min[0.01 × Equity_JPY / L_unit, Equity_JPY / (E + commission_per_EUR)]
Net R = Net P&L_JPY / (q_EUR × L_unit)
Spread, slippage, commission and financing assumptions
Baseline costs are a constant 2.0-pip spread, 0.2 pip of adverse slippage per leg, 500.00 JPY per 100,000 EUR per leg, and a 0.5-pip financing debit per rollover unit. One pip is 0.01 JPY per EUR. Ask is modeled Bid plus spread: these are not observed Ask quotes or historical broker spreads. Financing is a research debit for both directions, not actual historical swaps: weekdays at 17:00 America/New_York, Wednesday three units and other weekdays one, without a holiday value-date calendar. Entry exactly at a cutoff does not pay the preceding interval; a position remaining open after it does. Higher costs double all four assumptions; zero costs remove all four. Every scenario reruns fills, levels, quantities and its trade calendar. The separate fixed-quantity recosting holds primary dates, Bid references, direction and original quantities fixed; its summed P&L is a ledger diagnostic, not a new account-return percentage.
Ask = Bid + spread_pips × 0.01
Net P&L_JPY = direction × q × (X − E) − 2q × commission_per_EUR − q × carry_price × rollover_units
| Account / case | Spread · pips | Slippage per leg · pips | Commission per leg · JPY / 100,000 EUR | Debit per rollover unit · pips |
|---|---|---|---|---|
| Aroon cross + directional EMA200 | 2.0 | 0.2 | 500.00 | 0.5 |
| Primary rules · zero costs | 0.0 | 0.0 | 0.00 | 0.0 |
| Primary rules · higher costs | 4.0 | 0.4 | 1,000.00 | 1.0 |
One pip is 0.01 JPY per EUR. Ask is modeled Bid plus spread. Slippage changes fills, commission is charged per EUR on each leg, and financing is the stated hypothetical debit.
| Account / case | P&L at primary quantities · JPY | Commissions · JPY | Financing debit · JPY |
|---|---|---|---|
| Primary rules · zero costs | +109.52 | 0.00 | 0.00 |
| Aroon cross + directional EMA200 | −49,325.95 | 10,934.17 | 12,259.30 |
| Primary rules · higher costs | −98,761.42 | 21,868.34 | 24,518.59 |
Original quantities, direction, dates and source Bid references remain fixed. The sum is ledger P&L, not a newly simulated account or account-return percentage.
Continuous and independently restarted accounts
The continuous primary account ends at 950,674.05 JPY, returning −4.93%, with 10,934.17 JPY of commissions and 12,259.30 JPY of financing. Maximum sampled H4-close drawdown is 11.40%, including open-position fluctuations and initial equity as the first peak. This does not measure continuous intraminute drawdown. The independent early and later accounts return −3.89% and −1.35%. Each restarts equity and closes at its period boundary, so their returns or trade counts need not add to the continuous run. The cash-only JPY reference remains at 1,000,000 with no interest; it supplies context without pretending to match the strategy’s exposure or risk.
| Account / case | Net account return · % | Max. H4-close drawdown · % | Completed trades | Observed held buckets · % | Final equity · JPY |
|---|---|---|---|---|---|
| Aroon cross + directional EMA200 · Continuous 2020–2025 | −4.93 | 11.40 | 165 | 17.09 | 950,674.05 |
| Uninvested JPY · no interest · Continuous 2020–2025 | 0.00 | 0.00 | 0 | 0.00 | 1,000,000.00 |
| Aroon cross + directional EMA200 · Independent 2020–2022 | −3.89 | 5.54 | 83 | 17.12 | 961,104.80 |
| Uninvested JPY · no interest · Independent 2020–2022 | 0.00 | 0.00 | 0 | 0.00 | 1,000,000.00 |
| Aroon cross + directional EMA200 · Independent 2023–2025 | −1.35 | 8.57 | 82 | 17.05 | 986,452.07 |
| Uninvested JPY · no interest · Independent 2023–2025 | 0.00 | 0.00 | 0 | 0.00 | 1,000,000.00 |
Each row begins with 1,000,000 JPY. Drawdown uses observed H4 closing marks including open contract P&L and accrued financing. Exposure is the share of observed evaluated buckets occupied at any time.
Continuous primary equity at H4 closes
The EMA ablation, EMA-only comparator and rapid recrosses
The no-EMA account removes only the directional price/EMA gate from identical Aroon crosses. The EMA-only comparator instead enters on completed price/EMA200 crosses: the previous close at or below its EMA and the current close strictly above for a long, with the reverse for a short. It uses no Aroon condition and retains ATR, execution, sizing, costs and exits. Full-period returns are −10.90% without the EMA gate and −12.26% with the EMA-only trigger. Changing the trigger also changes cadence and account occupancy, so this comparison does not isolate causal added information at matched entry times, lag or signal frequency. Candidate tables count adjacent crosses with positive ATR even while an account is open. A rapid recross is an opposite cross of the same trigger within the next three scheduled H4 buckets, or 12 hours. Only complete future windows are classified; others are censored even if a partial reversal is visible. An opposite Aroon recross needs no EMA gate. This ex-post proxy is descriptive, not a known false signal, funded trade, causal test or usable entry-time filter.
EMA-only long: C_(t−1) ≤ EMA200_(t−1); C_t > EMA200_t
EMA-only short: C_(t−1) ≥ EMA200_(t−1); C_t < EMA200_t
| Account / case | Net account return · % | Max. H4-close drawdown · % | Completed trades | Observed held buckets · % |
|---|---|---|---|---|
| Aroon cross + directional EMA200 · Continuous 2020–2025 | −4.93 | 11.40 | 165 | 17.09 |
| Same Aroon cross without EMA gate · Continuous 2020–2025 | −10.90 | 16.06 | 301 | 31.57 |
| Price / EMA200 cross without Aroon · Continuous 2020–2025 | −12.26 | 19.11 | 165 | 16.07 |
| Aroon cross + directional EMA200 · Independent 2020–2022 | −3.89 | 5.54 | 83 | 17.12 |
| Same Aroon cross without EMA gate · Independent 2020–2022 | −8.80 | 11.32 | 156 | 32.06 |
| Price / EMA200 cross without Aroon · Independent 2020–2022 | +5.51 | 4.46 | 78 | 16.58 |
| Aroon cross + directional EMA200 · Independent 2023–2025 | −1.35 | 8.57 | 82 | 17.05 |
| Same Aroon cross without EMA gate · Independent 2023–2025 | −2.30 | 9.08 | 145 | 31.07 |
| Price / EMA200 cross without Aroon · Independent 2023–2025 | −16.84 | 17.08 | 87 | 15.56 |
Every account has its own one-position calendar. No-EMA removes only the directional gate; EMA-only changes the entry trigger to price/EMA200 crosses. Entry times and cadence are not matched, so this is not a causal isolation of added information.
| Account / case | Net account return · % | Max. H4-close drawdown · % | Completed trades | Observed held buckets · % |
|---|---|---|---|---|
| Primary rules · zero costs · Continuous 2020–2025 | −0.81 | 9.63 | 165 | 17.24 |
| Primary rules · higher costs · Continuous 2020–2025 | −8.85 | 14.10 | 165 | 16.94 |
| Primary rules · zero costs · Independent 2020–2022 | −1.47 | 4.39 | 83 | 17.30 |
| Primary rules · higher costs · Independent 2020–2022 | −6.00 | 7.25 | 83 | 17.10 |
| Primary rules · zero costs · Independent 2023–2025 | +0.39 | 8.06 | 82 | 17.15 |
| Primary rules · higher costs · Independent 2023–2025 | −3.29 | 9.54 | 82 | 16.76 |
Spread, slippage, commission and financing are all rerun together, including fills, price levels, sizing and the resulting trade calendar.
| Account / case | All candidates before EMA gate | Candidates passing directional EMA gate | Candidates with undefined EMA200 | Exact next opening available | Exact next opening missing | Completed account trades |
|---|---|---|---|---|---|---|
| Aroon Up / Down cross · Continuous 2020–2025 | 364 | 186 | 0 | 343 | 21 | 165 |
| Price / EMA200 cross · Continuous 2020–2025 | 344 | 344 | 0 | 328 | 16 | 165 |
| Aroon Up / Down cross · Independent 2020–2022 | 177 | 89 | 0 | 170 | 7 | 83 |
| Price / EMA200 cross · Independent 2020–2022 | 154 | 154 | 0 | 154 | 0 | 78 |
| Aroon Up / Down cross · Independent 2023–2025 | 187 | 97 | 0 | 173 | 14 | 82 |
| Price / EMA200 cross · Independent 2023–2025 | 190 | 190 | 0 | 174 | 16 | 87 |
Counts include valid adjacent Aroon Up/Down or price/EMA200 crosses with positive ATR, even while an account is open. The scheduled decision cutoff lies inside the period: equal start included, equal end excluded. Exact next-minute availability is separate from the account-position constraint.
| Candidate group | Rapid recrosses | Complete future windows | Censored windows | Rapid recross rate · % |
|---|---|---|---|---|
| Aroon Up / Down cross · Continuous 2020–2025 · All valid crosses | 22 | 324 | 40 | 6.79 |
| Aroon Up / Down cross · Continuous 2020–2025 · Crosses passing directional EMA gate | 10 | 165 | 21 | 6.06 |
| Price / EMA200 cross · Continuous 2020–2025 · All valid crosses | 134 | 313 | 31 | 42.81 |
| Price / EMA200 cross · Continuous 2020–2025 · Crosses passing directional EMA gate | 134 | 313 | 31 | 42.81 |
| Aroon Up / Down cross · Independent 2020–2022 · All valid crosses | 9 | 149 | 28 | 6.04 |
| Aroon Up / Down cross · Independent 2020–2022 · Crosses passing directional EMA gate | 5 | 77 | 12 | 6.49 |
| Price / EMA200 cross · Independent 2020–2022 · All valid crosses | 60 | 141 | 13 | 42.55 |
| Price / EMA200 cross · Independent 2020–2022 · Crosses passing directional EMA gate | 60 | 141 | 13 | 42.55 |
| Aroon Up / Down cross · Independent 2023–2025 · All valid crosses | 13 | 175 | 12 | 7.43 |
| Aroon Up / Down cross · Independent 2023–2025 · Crosses passing directional EMA gate | 5 | 88 | 9 | 5.68 |
| Price / EMA200 cross · Independent 2023–2025 · All valid crosses | 74 | 172 | 18 | 43.02 |
| Price / EMA200 cross · Independent 2023–2025 · Crosses passing directional EMA gate | 74 | 172 | 18 | 43.02 |
An opposite cross of the same trigger within a complete future 12-hour window counts as a recross. Incomplete windows are censored even when a partial reversal is visible. Opposite Aroon crosses need no EMA gate. Rates use eligible complete windows, not all candidates.
Candidate events are not funded trades or known false signals. Future recross windows are unavailable at entry. Different triggers and dependent observations do not establish causal information benefits, significance or future profitability.
Unresolved minutes and gaps in the source
The continuous primary ledger has 0 unresolved same-minute barrier cases, 121 trades spanning unobserved open-session minutes and 14 missing-opening entry cancellations. Each variant retains its own target-first alternative. If no ambiguity remains, its two order paths coincide. Gaps wholly outside the modeled Sunday 17:00 to Friday 17:00 New York session are distinguished from unobserved in-session minutes; missing observations alone cannot tell us whether a feed failed or no quote update occurred. No missing price is filled in. The gap-exclusion table removes flagged primary trades at their original quantities and reports retained ledger P&L. It does not rebuild an account or demonstrate a filter that could have avoided those trades in real time.
| Account / case | Minutes touching both stop and target | Unresolved same-minute barrier cases | Trades across unobserved in-session minutes | Missing-opening cancellations | Target-first alternative return · % |
|---|---|---|---|---|---|
| Aroon cross + directional EMA200 · Continuous 2020–2025 | 0 | 0 | 121 | 14 | −4.93 |
| Same Aroon cross without EMA gate · Continuous 2020–2025 | 0 | 0 | 213 | 19 | −10.90 |
| Price / EMA200 cross without Aroon · Continuous 2020–2025 | 0 | 0 | 114 | 13 | −12.26 |
| Primary rules · zero costs · Continuous 2020–2025 | 0 | 0 | 124 | 14 | −0.81 |
| Primary rules · higher costs · Continuous 2020–2025 | 0 | 0 | 121 | 14 | −8.85 |
| Aroon cross + directional EMA200 · Independent 2020–2022 | 0 | 0 | 57 | 3 | −3.89 |
| Same Aroon cross without EMA gate · Independent 2020–2022 | 0 | 0 | 101 | 7 | −8.80 |
| Price / EMA200 cross without Aroon · Independent 2020–2022 | 0 | 0 | 54 | 0 | +5.51 |
| Primary rules · zero costs · Independent 2020–2022 | 0 | 0 | 59 | 3 | −1.47 |
| Primary rules · higher costs · Independent 2020–2022 | 0 | 0 | 57 | 3 | −6.00 |
| Aroon cross + directional EMA200 · Independent 2023–2025 | 0 | 0 | 63 | 11 | −1.35 |
| Same Aroon cross without EMA gate · Independent 2023–2025 | 0 | 0 | 112 | 12 | −2.30 |
| Price / EMA200 cross without Aroon · Independent 2023–2025 | 0 | 0 | 60 | 13 | −16.84 |
| Primary rules · zero costs · Independent 2023–2025 | 0 | 0 | 64 | 11 | +0.39 |
| Primary rules · higher costs · Independent 2023–2025 | 0 | 0 | 63 | 11 | −3.29 |
The target-first alternative changes only unresolved same-minute barrier order. A missing source minute is never replaced with an invented price.
| Period | Excluded trades | Retained trades | Retained ledger P&L · JPY |
|---|---|---|---|
| Continuous 2020–2025 | 121 | 44 | −77,227.61 |
| Independent 2020–2022 | 57 | 26 | −55,901.94 |
| Independent 2023–2025 | 63 | 19 | −20,359.01 |
Flagged trades are removed at their original quantities. Retained P&L is not a rebuilt account return or an available real-time filter.
First chronological examples from both subperiods
The first completed early-account and later-account trades begin at 2020-01-09 04:00 UTC and 2023-01-12 16:00 UTC, returning +0.438 R and +1.964 R. Their H4 panels show source Bid candles and EMA200, fixed stop and target, Aroon Up/Down on a fixed 0–100 pane, and high/low ages on a fixed 0–25 pane. The 50 guide is for orientation, not an entry gate. S identifies the completed signal candle, E the actual source Bid opening, and X the liquidation reference in its H4 bucket. For a short, X is modeled Ask and can lie above the Bid candle; the details separately give the modeled entry and exit fills. M15 exit panels use Bid for a long and modeled Ask for a short. Only complete groups of 15 actual source minutes are aggregated; omitted groups are disclosed. An actual exit minute can exist inside an incomplete M15 group, so X need not sit on a displayed candle. Candle labels identify openings rather than execution ticks.
Example 1 · First completed early-account trade
- Direction
- Long EUR / short JPY
- Entry · UTC
- 2020-01-09 04:00
- Exit time / interval · UTC
- 2020-01-10 22:00
- Modeled entry fill · JPY/EUR
- 121.396000
- Modeled exit fill · JPY/EUR
- 121.736000
- Fixed stop
- 120.666549 JPY/EUR
- Fixed target
- 122.854902 JPY/EUR
- Contract quantity · EUR
- 8,237.1644
- Planned monetary stop loss · JPY
- 6,107.45
- Net P&L · JPY
- +2,677.08
- Net R
- +0.438
- Commissions · JPY
- 82.37
- Financing debit · JPY
- 41.19
- Detail candle quote side
- Observed Bid
- Omitted incomplete M15 groups
- 24
- Exit reason
- Weekly close deadline
H4 Bid prices, EMA200, Aroon and extremum ages
- Open
- 121.180000
- High
- 121.459000
- Low
- 121.174000
- Close
- 121.375000
- Observed source minutes
- 240
- EMA200
- 121.086504
- ATR14
- 0.364725
- Aroon Up · recency of highest high
- 100
- Aroon Down · recency of lowest low
- 76
- Observed bars since highest high
- 0
- Observed bars since lowest low
- 6
M15 exit context on the liquidation quote side
- Open
- 121.787000
- High
- 121.797000
- Low
- 121.712000
- Close
- 121.738000
- Observed source minutes
- 15
Chronological selections from the specified account. Bid candle references, modeled short-side Ask references and final fills remain distinct. A minute interval is not an observed tick execution.
Example 2 · First completed later-account trade
- Direction
- Short EUR / long JPY
- Entry · UTC
- 2023-01-12 16:00
- Exit time / interval · UTC
- [2023-01-13 15:52, 2023-01-13 15:53)
- Modeled entry fill · JPY/EUR
- 140.310000
- Modeled exit fill · JPY/EUR
- 138.082964
- Fixed stop
- 141.424518 JPY/EUR
- Fixed target
- 138.080964 JPY/EUR
- Contract quantity · EUR
- 7,126.8218
- Planned monetary stop loss · JPY
- 8,028.49
- Net P&L · JPY
- +15,764.79
- Net R
- +1.964
- Commissions · JPY
- 71.27
- Financing debit · JPY
- 35.63
- Detail candle quote side
- Modeled Ask
- Omitted incomplete M15 groups
- 0
- Exit reason
- Target barrier
H4 Bid prices, EMA200, Aroon and extremum ages
- Open
- 140.842000
- High
- 141.113000
- Low
- 140.067000
- Close
- 140.313000
- Observed source minutes
- 240
- EMA200
- 142.031038
- ATR14
- 0.557259
- Aroon Up · recency of highest high
- 76
- Aroon Down · recency of lowest low
- 100
- Observed bars since highest high
- 6
- Observed bars since lowest low
- 0
M15 exit context on the liquidation quote side
- Open
- 138.240000
- High
- 138.276000
- Low
- 138.046000
- Close
- 138.098000
- Observed source minutes
- 15
Chronological selections from the specified account. Bid candle references, modeled short-side Ask references and final fills remain distinct. A minute interval is not an observed tick execution.
An additional later-account example
The third chart selects the first later-account trade whose net-P&L sign is opposite to that of the account’s first trade. Its entry is 2023-01-19 08:00 UTC and net result −1.003 R. If none has the opposite sign, we show the next chronological completed later trade and label the fallback; if no eligible trade exists, the example is explicitly unavailable. Every displayed trade already belongs to the account totals. These deterministic illustrations explain the rules and their limitations without estimating a win probability from a few charts or replacing the predefined full result.
Example 3 · Additional later-account trade
- Direction
- Short EUR / long JPY
- Entry · UTC
- 2023-01-19 08:00
- Exit time / interval · UTC
- [2023-01-20 05:43, 2023-01-20 05:44)
- Modeled entry fill · JPY/EUR
- 138.530000
- Modeled exit fill · JPY/EUR
- 140.026335
- Fixed stop
- 140.024335 JPY/EUR
- Fixed target
- 135.541330 JPY/EUR
- Contract quantity · EUR
- 6,743.2865
- Planned monetary stop loss · JPY
- 10,157.65
- Net P&L · JPY
- −10,191.36
- Net R
- −1.003
- Commissions · JPY
- 67.43
- Financing debit · JPY
- 33.72
- Detail candle quote side
- Modeled Ask
- Omitted incomplete M15 groups
- 0
- Exit reason
- Stop barrier
First later-account trade with a net-P&L sign opposite to that of the account’s first trade.
H4 Bid prices, EMA200, Aroon and extremum ages
- Open
- 138.556000
- High
- 138.559000
- Low
- 137.910000
- Close
- 138.529000
- Observed source minutes
- 240
- EMA200
- 141.301641
- ATR14
- 0.747167
- Aroon Up · recency of highest high
- 76
- Aroon Down · recency of lowest low
- 100
- Observed bars since highest high
- 6
- Observed bars since lowest low
- 0
M15 exit context on the liquidation quote side
- Open
- 139.974000
- High
- 140.029000
- Low
- 139.951000
- Close
- 140.001000
- Observed source minutes
- 15
Chronological selections from the specified account. Bid candle references, modeled short-side Ask references and final fills remain distinct. A minute interval is not an observed tick execution.
Annual returns, ties and interpretation limits
Annual percentages come from continuous-account H4 closing equity. The bucket-opening year determines attribution even if its scheduled cutoff enters the next year. Percentages compound and cannot simply be added. Candidate counts instead use decision-cutoff year. The later primary account has 82 completed trades; the 30-trade warning convention is not a statistical test. Profit factor, average and median net R, and closed-trade R drawdown describe the recorded ledger. Holding slots count elapsed four-hour equivalents including gaps; intraminute durations use interval bounds rather than exact ticks. Exposure is observed-bucket occupancy rather than exact elapsed time. The ties table compares the most recent extreme with the oldest equal extreme only as a descriptive diagnostic: the primary rule always uses the most recent one, and no extra funded account or policy switch is selected afterward. One provider’s Bid history, modeled Ask, fixed financing, retrospective periods and different comparator triggers limit any claim about future performance.
Trade count alone does not establish statistical significance or a durable edge.
Annual returns from continuous accounts
| Period | Aroon cross + directional EMA200 | Same Aroon cross without EMA gate | Price / EMA200 cross without Aroon |
|---|---|---|---|
| 2020 | −1.49 | −3.05 | +3.28 |
| 2021 | +0.23 | −1.83 | −1.24 |
| 2022 | −2.66 | −4.17 | +3.44 |
| 2023 | −5.64 | −5.62 | −5.95 |
| 2024 | +2.23 | +6.20 | −6.34 |
| 2025 | +2.54 | −2.52 | −5.60 |
Each year compares its last observed H4 equity with the prior year-end, or initial equity for 2020. The bucket-opening year determines attribution. These are not restarted annual backtests.
| Account / case | Continuous 2020–2025 | Independent 2020–2022 | Independent 2023–2025 |
|---|---|---|---|
| Positive P&L | 71 | 35 | 36 |
| Negative P&L | 94 | 48 | 46 |
| Zero P&L | 0 | 0 | 0 |
| Profit factor | 0.876 | 0.798 | 0.937 |
| Average net R | −0.050 | −0.067 | −0.039 |
| Median net R | −0.134 | −0.064 | −0.215 |
| Average approximate elapsed H4 slots | 10.04 | 9.90 | 10.03 |
| Median approximate elapsed H4 slots | 8.25 | 7.50 | 8.25 |
| Notional-capped trades | 152 | 77 | 75 |
| Sum of closed-trade net R | −8.328 | −5.524 | −3.171 |
| Closed-trade drawdown · R | 21.018 | 9.210 | 14.831 |
Profit factor divides gross positive net P&L by absolute gross negative net P&L. Net R uses planned stop risk before unknown future financing. These descriptive summaries are not significance tests. Holding durations use the lower endpoint of one-minute exit intervals and are approximate.
| Period | Evaluated H4 windows | Windows with tied highest highs | Windows with tied lowest lows | Windows with changed Up or Down | Candidate directions changed by tie choice |
|---|---|---|---|---|---|
| Continuous 2020–2025 | 9,652 | 52 | 65 | 117 | 6 |
| Independent 2020–2022 | 4,832 | 46 | 56 | 102 | 6 |
| Independent 2023–2025 | 4,820 | 6 | 9 | 15 | 0 |
Counts use completed evaluated H4 windows and candidate decisions. Primary Aroon always selects the most recent equal extreme. The oldest-equal-extreme comparison is diagnostic only, with no extra funded account or outcome-based policy change.
Reproduce the research with separate source archives
The downloads retain the frozen protocol, source hashes and acquisition instructions, derived H4 observations and indicators, complete account paths and ledgers, diagnostic candidate events, selected exit context and original replay code. The reproducibility package does not redistribute the provider’s full raw M1 database. Obtain the specified HistData archives separately, verify their hashes, then supply them to the replay script. Run the displayed command from the root of the extracted reproducibility package, with the unchanged source ZIPs in raw/ or an adjusted --source-dir path. The code and protocol can be replayed offline once those inputs are present. Independently check the 26-candle Aroon window, most-recent tie choice, EMA200 and ATR14 initialization, long/short quote sides, contract equity, financing cutoffs, gap handling and minute order. Reproducibility does not establish real historical fills, statistical significance or future profitability.
python3 scripts/study-eurjpy-aroon.py --protocol content/eurjpy-aroon/protocol.json --source-dir raw --output replay.json
Questions and answers
Does this establish a profitable Aroon and EMA200 strategy?
The frozen account returns −4.93% over 2020–2025 and −1.35% in the independently restarted later period. These are modeled historical results, including 11.40% maximum H4-close drawdown, rather than proof of a durable edge. Read them with the no-EMA and EMA-only accounts, costs, exposure and ordering bounds. Unfavorable results remain in the study.
Why does Aroon25 use 26 candles here?
We define 25 observed-bar intervals, from age 0 on the current candle to age 25 on the oldest candle. That needs 26 observed candles. Aroon Up and Down are 4 × (25 − age), giving exact multiples of four between 0 and 100. Equal extremes use the most recent occurrence. A different window or tie convention can produce different values; our rule is explicit and fixed before calculation.
Does Aroon 100 prove a strong trend?
No. It means that the relevant extreme is on the current observed candle under this window and tie rule. It does not measure the size of the price move. A completely flat 26-candle window gives both Up and Down 100, with no strict cross between them. Our primary direction comes from the completed Up/Down cross and its directional EMA200 gate; the 50 line adds no condition.
Are rapid recrosses the strategy’s losing trades?
No. They are dependent candidate events defined after seeing the next three complete H4 buckets, including events while an account is open. A recross can occur without an account loss, and a loss can occur without a recross. Incomplete windows are censored. This diagnostic does not label objectively false signals or provide information available at the original entry.
Are these historical Ask spreads and swap charges?
No. The source supplies Bid M1 OHLC. Ask equals Bid plus a constant scenario spread, with separate adverse slippage and commission. Financing is a specified debit for both directions at weekday New York cutoffs, with Wednesday triple units and no holiday value-date model. These explicit assumptions make scenarios comparable; they do not reconstruct a broker’s actual spreads, quotes, swaps or fills.
How precise are exits and account drawdown?
Opening and modeled completed-minute close events are distinct from barrier exits known only within a minute. If both barriers touch in that minute, we retain stop-first and target-first paths without inventing tick order. H4-close equity includes open directional P&L, entry commission and accrued financing; its maximum drawdown is sampled rather than continuous. The package needs separately obtained raw archives for complete offline replay.
Sources and reproducibility
Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.
Research limitations
Bid observations, modeled Ask and financing, fractional contract quantities and simulated fills do not establish actual execution or future returns. Currency exposure carries price and liquidity risk. Drawdown is sampled at observed H4 closes.