In simple terms
We open a long position after a completed price cross above KAMA, or a short after a cross below it, only when ADX14 is at least 25. Entry requires a real quote at the next scheduled H4 opening. Fixed stop, target and time limits govern each hypothetical FX contract. Adaptive smoothing and fewer rapid recrosses do not by themselves establish a profitable strategy.
On this page
The question and the frozen historical test
Does adaptive KAMA smoothing reduce rapid price recrosses, and does that translate into better net account results than a fixed EMA30? We froze KAMA 10,2,30, ADX14 ≥ 25 and all execution rules before downloading the new AUD/USD archives or calculating this study on 12 November 2026. 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. All 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,394,275
- Observed evaluated H4 buckets
- 9,650
- Unobserved in-session minutes
- 91,199
- Partial H4 buckets
- 3,209
- 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.
KAMA 10,2,30: efficiency ratio and adaptive weight
For the current close, divide the absolute net change over ten close changes by the sum of their absolute changes. These use exactly eleven observed closes and exact source-price differences. The efficiency ratio ER ranges from 0 to 1: a zero denominator is defined as 0, while equal positive numerator and denominator give exactly 1. The smoothing constant is SC = [ER × (2/3 − 2/31) + 2/31]². Seed KAMA with the mean of the first ten observed closes; apply the first adaptive update on the eleventh. KAMA moves from its previous value toward the current close using SC. An unchanged one-bar close does not generally freeze KAMA: it still moves unless price already equals the previous KAMA. Trading comparisons use unrounded values.
ER_t = |C_t − C_(t−10)| / Σ_(j=0..9) |C_(t−j) − C_(t−j−1)|
SC_t = [ER_t × (2/3 − 2/31) + 2/31]²
KAMA_t = KAMA_(t−1) + SC_t × (C_t − KAMA_(t−1))
ADX14 measures strength, not trade direction
True range starts with high minus low, then includes the absolute high/low distances from the preceding observed close. UpMove is the high increase and DownMove the low decrease. Only the larger strictly positive move contributes to its directional movement; a tie gives both zero. The first directional movements are zero. ATR and directional means start with the first 14 observed values, then use Wilder weight 1/14. Multiply each directional mean divided by ATR by 100 to obtain DI; if ATR is zero, both DI values are zero. DX is 100 times their absolute difference divided by their sum, with a zero sum defined as zero. Seed ADX with the first 14 finite DX values and then apply Wilder smoothing. ADX ≥ 25 is the only strength gate: no rising-ADX condition or DI direction filter is added.
ATR14_t = [13 × ATR14_(t−1) + TR_t] / 14
DX_t = 100 × |DI+_t − DI−_t| / (DI+_t + DI−_t)
ADX14_t = [13 × ADX14_(t−1) + DX_t] / 14
Completed price crosses and immediate entries
When flat, a long signal requires the preceding close at or below its KAMA and the current close strictly above it. A short signal reverses these inequalities. The two H4 bucket anchors must be exactly four hours apart; we reject crosses across missing buckets, including weekends. The current ADX must be at least 25 and ATR positive. Indicator recursion still continues over observed bars. 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. No overlapping positions are allowed. 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: C_(t−1) ≤ KAMA_(t−1); C_t > KAMA_t; ADX14_t ≥ 25
Short: C_(t−1) ≥ KAMA_(t−1); C_t < KAMA_t; ADX14_t ≥ 25
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 cross or weakening ADX 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 10,000 USD. A contract’s AUD notional is exposure, not cash spent buying physical currency. We allow fractional AUD 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-AUD 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 183 notional-capped trades. Entry commission reduces balance; equity adds the open contract’s directional liquidation P&L and subtracts accrued financing. Net R divides the final net P&L by quantity times L_unit. 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_AUD
q_AUD = min[0.01 × Equity / L_unit, Equity / (E + commission_per_AUD)]
Net R = Net P&L / (q_AUD × L_unit)
Spread, slippage, commission and financing assumptions
Baseline costs are a constant 1.0-pip spread, 0.1 pip of adverse slippage per leg, 3.50 USD per 100,000 AUD per leg, and a 0.2-pip financing debit per rollover unit. One pip is 0.0001 USD per AUD. 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.0001
Net P&L = direction × q × (X − E) − 2q × commission_per_AUD − q × carry_price × rollover_units
| Account / case | Spread · pips | Slippage per leg · pips | Commission per leg · USD / 100,000 AUD | Debit per rollover unit · pips |
|---|---|---|---|---|
| KAMA cross + ADX14 ≥ 25 | 1.0 | 0.1 | 3.50 | 0.2 |
| Primary rules · zero costs | 0.0 | 0.0 | 0.00 | 0.0 |
| Primary rules · higher costs | 2.0 | 0.2 | 7.00 | 0.4 |
One pip is 0.0001 USD per AUD. Ask is modeled Bid plus spread. Slippage changes fills, commission is charged per AUD on each leg, and financing is the stated hypothetical debit.
| Account / case | P&L at primary quantities · USD | Commissions · USD | Financing debit · USD |
|---|---|---|---|
| Primary rules · zero costs | −20.96 | 0.00 | 0.00 |
| KAMA cross + ADX14 ≥ 25 | −763.35 | 219.92 | 145.46 |
| Primary rules · higher costs | −1,505.73 | 439.84 | 290.92 |
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 9,236.65 USD, returning −7.63%, with 219.92 USD of commissions and 145.46 USD of financing. Maximum sampled H4-close drawdown is 14.91%, 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 +1.30% and −8.82%. 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 USD reference remains at 10,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 · USD |
|---|---|---|---|---|---|
| KAMA cross + ADX14 ≥ 25 · Continuous 2020–2025 | −7.63 | 14.91 | 223 | 24.74 | 9,236.65 |
| Uninvested USD · no interest · Continuous 2020–2025 | 0.00 | 0.00 | 0 | 0.00 | 10,000.00 |
| KAMA cross + ADX14 ≥ 25 · Independent 2020–2022 | +1.30 | 8.59 | 114 | 24.78 | 10,129.83 |
| Uninvested USD · no interest · Independent 2020–2022 | 0.00 | 0.00 | 0 | 0.00 | 10,000.00 |
| KAMA cross + ADX14 ≥ 25 · Independent 2023–2025 | −8.82 | 9.27 | 109 | 24.69 | 9,118.27 |
| Uninvested USD · no interest · Independent 2023–2025 | 0.00 | 0.00 | 0 | 0.00 | 10,000.00 |
Each row begins with 10,000 USD. 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
EMA30, the ADX ablation and rapid recrosses
The no-ADX account removes only the ADX gate from identical KAMA crosses. The EMA30 comparator replaces KAMA with a fixed EMA seeded from 30 observed closes and updated with weight 2/31, retaining ADX and every other rule. Full-period returns are −8.41% without ADX and −1.47% with EMA30. EMA30 is neither lag-matched nor signal-frequency-matched to KAMA, so this comparison does not isolate adaptation at equal smoothing. The event tables count adjacent price crosses with positive ATR even when an account is already open. A rapid recross means an opposite price cross of the same average within the next three scheduled H4 buckets, or 12 hours. Only complete future windows are classified; others are censored even if an early reversal is visible. Opposite recrosses need no ADX gate. This ex-post proxy is descriptive, not a known false signal, funded trade, causal test or usable future entry filter.
EMA30_t = EMA30_(t−1) + (2/31) × (C_t − EMA30_(t−1))
| Account / case | Net account return · % | Max. H4-close drawdown · % | Completed trades | Observed held buckets · % |
|---|---|---|---|---|
| KAMA cross + ADX14 ≥ 25 · Continuous 2020–2025 | −7.63 | 14.91 | 223 | 24.74 |
| Same KAMA cross without ADX · Continuous 2020–2025 | −8.41 | 20.46 | 461 | 52.87 |
| EMA30 cross + ADX14 ≥ 25 · Continuous 2020–2025 | −1.47 | 9.13 | 120 | 14.22 |
| KAMA cross + ADX14 ≥ 25 · Independent 2020–2022 | +1.30 | 8.59 | 114 | 24.78 |
| Same KAMA cross without ADX · Independent 2020–2022 | +6.82 | 11.50 | 238 | 54.50 |
| EMA30 cross + ADX14 ≥ 25 · Independent 2020–2022 | +2.91 | 3.65 | 58 | 13.23 |
| KAMA cross + ADX14 ≥ 25 · Independent 2023–2025 | −8.82 | 9.27 | 109 | 24.69 |
| Same KAMA cross without ADX · Independent 2023–2025 | −13.91 | 14.54 | 223 | 51.21 |
| EMA30 cross + ADX14 ≥ 25 · Independent 2023–2025 | −4.26 | 7.07 | 62 | 15.21 |
Every account has its own one-position calendar. No-ADX removes only the gate; EMA30 replaces only the crossing average. EMA30 is not lag-matched or signal-frequency-matched to KAMA.
| Account / case | Net account return · % | Max. H4-close drawdown · % | Completed trades | Observed held buckets · % |
|---|---|---|---|---|
| Primary rules · zero costs · Continuous 2020–2025 | +2.26 | 8.65 | 219 | 24.63 |
| Primary rules · higher costs · Continuous 2020–2025 | −13.63 | 18.48 | 224 | 24.81 |
| Primary rules · zero costs · Independent 2020–2022 | +7.73 | 5.93 | 112 | 24.61 |
| Primary rules · higher costs · Independent 2020–2022 | −2.50 | 9.54 | 114 | 24.80 |
| Primary rules · zero costs · Independent 2023–2025 | −5.07 | 6.05 | 107 | 24.65 |
| Primary rules · higher costs · Independent 2023–2025 | −11.41 | 11.83 | 110 | 24.82 |
Spread, slippage, commission and financing are all rerun together, including fills, price levels, sizing and the resulting trade calendar.
| Account / case | All candidates before ADX | Candidates with ADX ≥ 25 | Candidates with undefined ADX | Exact next opening available | Exact next opening missing | Completed account trades |
|---|---|---|---|---|---|---|
| Price / KAMA cross · Continuous 2020–2025 | 1,384 | 509 | 0 | 1,329 | 55 | 223 |
| Price / EMA30 cross · Continuous 2020–2025 | 972 | 210 | 0 | 952 | 20 | 120 |
| Price / KAMA cross · Independent 2020–2022 | 709 | 260 | 0 | 699 | 10 | 114 |
| Price / EMA30 cross · Independent 2020–2022 | 506 | 101 | 0 | 504 | 2 | 58 |
| Price / KAMA cross · Independent 2023–2025 | 675 | 249 | 0 | 630 | 45 | 109 |
| Price / EMA30 cross · Independent 2023–2025 | 466 | 109 | 0 | 448 | 18 | 62 |
Counts include valid adjacent price 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 · % |
|---|---|---|---|---|
| Price / KAMA cross · Continuous 2020–2025 · All valid crosses | 627 | 1,241 | 143 | 50.52 |
| Price / KAMA cross · Continuous 2020–2025 · Crosses with ADX ≥ 25 | 252 | 456 | 53 | 55.26 |
| Price / EMA30 cross · Continuous 2020–2025 · All valid crosses | 415 | 884 | 88 | 46.95 |
| Price / EMA30 cross · Continuous 2020–2025 · Crosses with ADX ≥ 25 | 94 | 190 | 20 | 49.47 |
| Price / KAMA cross · Independent 2020–2022 · All valid crosses | 324 | 638 | 71 | 50.78 |
| Price / KAMA cross · Independent 2020–2022 · Crosses with ADX ≥ 25 | 130 | 239 | 21 | 54.39 |
| Price / EMA30 cross · Independent 2020–2022 · All valid crosses | 214 | 458 | 48 | 46.72 |
| Price / EMA30 cross · Independent 2020–2022 · Crosses with ADX ≥ 25 | 43 | 92 | 9 | 46.74 |
| Price / KAMA cross · Independent 2023–2025 · All valid crosses | 303 | 603 | 72 | 50.25 |
| Price / KAMA cross · Independent 2023–2025 · Crosses with ADX ≥ 25 | 122 | 217 | 32 | 56.22 |
| Price / EMA30 cross · Independent 2023–2025 · All valid crosses | 201 | 426 | 40 | 47.18 |
| Price / EMA30 cross · Independent 2023–2025 · Crosses with ADX ≥ 25 | 51 | 98 | 11 | 52.04 |
An opposite cross of the same average within a complete future 12-hour window counts as a recross. Incomplete windows are censored even when a partial reversal is visible. The opposite cross needs no ADX gate. Rates use eligible complete windows, not all candidates.
Candidate events are not funded trades or known false signals. Their future recross windows are unavailable at entry. These dependent descriptive observations do not establish causal adaptation benefits, significance or future profitability.
Unresolved minutes and gaps in the source
The continuous primary ledger has 0 unresolved same-minute barrier cases, 184 trades spanning unobserved open-session minutes and 13 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 · % |
|---|---|---|---|---|---|
| KAMA cross + ADX14 ≥ 25 · Continuous 2020–2025 | 0 | 0 | 184 | 13 | −7.63 |
| Same KAMA cross without ADX · Continuous 2020–2025 | 0 | 0 | 380 | 38 | −8.41 |
| EMA30 cross + ADX14 ≥ 25 · Continuous 2020–2025 | 0 | 0 | 95 | 3 | −1.47 |
| Primary rules · zero costs · Continuous 2020–2025 | 0 | 0 | 183 | 13 | +2.26 |
| Primary rules · higher costs · Continuous 2020–2025 | 0 | 0 | 184 | 13 | −13.63 |
| KAMA cross + ADX14 ≥ 25 · Independent 2020–2022 | 0 | 0 | 89 | 2 | +1.30 |
| Same KAMA cross without ADX · Independent 2020–2022 | 0 | 0 | 190 | 8 | +6.82 |
| EMA30 cross + ADX14 ≥ 25 · Independent 2020–2022 | 0 | 0 | 44 | 0 | +2.91 |
| Primary rules · zero costs · Independent 2020–2022 | 0 | 0 | 89 | 2 | +7.73 |
| Primary rules · higher costs · Independent 2020–2022 | 0 | 0 | 88 | 2 | −2.50 |
| KAMA cross + ADX14 ≥ 25 · Independent 2023–2025 | 0 | 0 | 95 | 11 | −8.82 |
| Same KAMA cross without ADX · Independent 2023–2025 | 0 | 0 | 190 | 30 | −13.91 |
| EMA30 cross + ADX14 ≥ 25 · Independent 2023–2025 | 0 | 0 | 51 | 3 | −4.26 |
| Primary rules · zero costs · Independent 2023–2025 | 0 | 0 | 94 | 11 | −5.07 |
| Primary rules · higher costs · Independent 2023–2025 | 0 | 0 | 96 | 11 | −11.41 |
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 · USD |
|---|---|---|---|
| Continuous 2020–2025 | 184 | 39 | −1,011.12 |
| Independent 2020–2022 | 89 | 25 | −612.07 |
| Independent 2023–2025 | 95 | 14 | −393.94 |
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-02 04:00 UTC and 2023-01-10 12:00 UTC, returning +1.898 R and −1.010 R. Their H4 panels show source Bid candles, KAMA and EMA30, fixed stop and target, an ADX pane with the 25 threshold, and ER/SC on a fixed 0–1 pane. S identifies the completed signal candle, E the actual Bid entry 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 detail panel separately gives the modeled entry and exit fills. M15 exit panels use the relevant liquidation quote side: Bid for a long, modeled Ask for a short. Only complete groups of 15 actual source minutes are aggregated; omitted groups are disclosed. Candle labels identify openings rather than execution ticks.
Example 1 · First completed early-account trade
- Direction
- Short AUD / long USD
- Entry · UTC
- 2020-01-02 04:00
- Exit time / interval · UTC
- [2020-01-03 07:31, 2020-01-03 07:32)
- Modeled entry fill · USD/AUD
- 0.700570
- Modeled exit fill · USD/AUD
- 0.695624
- Fixed stop
- 0.703048 USD/AUD
- Fixed target
- 0.695614 USD/AUD
- Contract quantity · AUD
- 14,273.3780
- Planned monetary stop loss · USD
- 36.51
- Net P&L · USD
- +69.32
- Net R
- +1.898
- Commissions · USD
- 1.00
- Financing debit · USD
- 0.29
- Detail candle quote side
- Modeled Ask
- Omitted incomplete M15 groups
- 0
- Exit reason
- Target barrier
H4 Bid prices, KAMA, EMA30, ADX and ER/SC
- Open
- 0.701880
- High
- 0.701950
- Low
- 0.700550
- Close
- 0.700580
- Observed source minutes
- 240
- KAMA10,2,30
- 0.701264
- EMA30 cross + ADX14 ≥ 25
- 0.697953
- ATR14
- 0.001239
- ADX14 · Wilder
- 63.805751
- Efficiency ratio · ER
- 0.181507
- Squared smoothing constant · SC
- 0.030210
M15 exit context on the liquidation quote side
- Open
- 0.695750
- High
- 0.695820
- Low
- 0.695480
- Close
- 0.695570
- 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 AUD / long USD
- Entry · UTC
- 2023-01-10 12:00
- Exit time / interval · UTC
- [2023-01-12 13:35, 2023-01-12 13:36)
- Modeled entry fill · USD/AUD
- 0.688370
- Modeled exit fill · USD/AUD
- 0.696122
- Fixed stop
- 0.696112 USD/AUD
- Fixed target
- 0.672887 USD/AUD
- Contract quantity · AUD
- 12,785.0730
- Planned monetary stop loss · USD
- 100.00
- Net P&L · USD
- −101.02
- Net R
- −1.010
- Commissions · USD
- 0.89
- Financing debit · USD
- 1.02
- Detail candle quote side
- Modeled Ask
- Omitted incomplete M15 groups
- 0
- Exit reason
- Stop barrier
H4 Bid prices, KAMA, EMA30, ADX and ER/SC
- Open
- 0.689650
- High
- 0.691040
- Low
- 0.688180
- Close
- 0.688380
- Observed source minutes
- 240
- KAMA10,2,30
- 0.688715
- EMA30 cross + ADX14 ≥ 25
- 0.685067
- ATR14
- 0.003871
- ADX14 · Wilder
- 25.161647
- Efficiency ratio · ER
- 0.073960
- Squared smoothing constant · SC
- 0.011892
M15 exit context on the liquidation quote side
- Open
- 0.691420
- High
- 0.697330
- Low
- 0.687170
- Close
- 0.692620
- 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-06-08 04:00 UTC and net result +1.323 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
- Long AUD / short USD
- Entry · UTC
- 2023-06-08 04:00
- Exit time / interval · UTC
- 2023-06-09 21:00
- Modeled entry fill · USD/AUD
- 0.666940
- Modeled exit fill · USD/AUD
- 0.673880
- Fixed stop
- 0.661843 USD/AUD
- Fixed target
- 0.677134 USD/AUD
- Contract quantity · AUD
- 14,100.0478
- Planned monetary stop loss · USD
- 73.00
- Net P&L · USD
- +96.59
- Net R
- +1.323
- Commissions · USD
- 0.99
- Financing debit · USD
- 0.28
- Detail candle quote side
- Observed Bid
- Omitted incomplete M15 groups
- 36
- Exit reason
- Weekly close deadline
First later-account trade with a net-P&L sign opposite to that of the account’s first trade.
H4 Bid prices, KAMA, EMA30, ADX and ER/SC
- Open
- 0.665810
- High
- 0.667220
- Low
- 0.665680
- Close
- 0.666850
- Observed source minutes
- 180
- KAMA10,2,30
- 0.665652
- EMA30 cross + ADX14 ≥ 25
- 0.662752
- ATR14
- 0.002548
- ADX14 · Wilder
- 35.215653
- Efficiency ratio · ER
- 0.134304
- Squared smoothing constant · SC
- 0.021138
M15 exit context on the liquidation quote side
- Open
- 0.674250
- High
- 0.674310
- Low
- 0.673740
- Close
- 0.673740
- 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, activity 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 109 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 the fixed four-hour clock including gaps; exposure is observed-bucket occupancy rather than exact elapsed time. One provider’s Bid history, modeled Ask, fixed financing, retrospective periods and unmatched EMA smoothing limit any claim that adaptation improves future performance.
Trade count alone does not establish statistical significance or a durable edge.
Annual returns from continuous accounts
| Period | KAMA cross + ADX14 ≥ 25 | Same KAMA cross without ADX | EMA30 cross + ADX14 ≥ 25 |
|---|---|---|---|
| 2020 | +5.82 | +11.50 | +1.83 |
| 2021 | −3.46 | −7.11 | +0.39 |
| 2022 | −0.84 | +3.13 | +0.67 |
| 2023 | −2.55 | −7.34 | −3.78 |
| 2024 | −3.06 | −4.01 | −2.14 |
| 2025 | −3.47 | −3.61 | +1.68 |
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 | 93 | 54 | 39 |
| Negative P&L | 130 | 60 | 70 |
| Zero P&L | 0 | 0 | 0 |
| Profit factor | 0.900 | 1.032 | 0.749 |
| Average net R | −0.062 | +0.006 | −0.133 |
| Median net R | −0.215 | −0.081 | −0.365 |
| Average approximate elapsed H4 slots | 10.66 | 10.33 | 11.00 |
| Median approximate elapsed H4 slots | 8.50 | 7.57 | 8.92 |
| Notional-capped trades | 183 | 80 | 103 |
| Sum of closed-trade net R | −13.814 | +0.712 | −14.526 |
| Closed-trade drawdown · R | 23.692 | 11.327 | 15.180 |
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.
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 KAMA and ADX 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-audusd-kama.py --protocol content/audusd-kama/protocol.json --source-dir raw --output replay.json
Questions and answers
Does this establish a profitable KAMA and ADX strategy?
The frozen account returns −7.63% over 2020–2025 and −8.82% in the independently restarted later period. These are modeled historical results, including 14.91% maximum H4-close drawdown, rather than proof of a durable edge. Read them with the no-ADX and EMA30 accounts, costs, exposure and ordering bounds. We retain unfavorable results instead of optimizing them away.
Is KAMA simply a faster EMA?
KAMA changes its squared smoothing weight using the ten-change efficiency ratio. Its slow and fast inputs do not make it identical to either fixed EMA. It can move toward an unchanged price when it is still away from that price. Our EMA30 is a prespecified comparison, not an equal-lag control, so a result difference cannot be attributed solely to adaptation at the same smoothing.
Does ADX tell us to buy or sell?
ADX measures the magnitude of directional imbalance under the stated Wilder initialization. It does not select the long or short direction. Here the completed price/KAMA cross selects direction and contemporaneous ADX ≥ 25 permits entry. We do not add a rising-ADX rule, DI direction filter or delayed confirmation.
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.