Independent market intelligence
Research over noise · Risk before return
Forex strategy research · EUR/USD

EUR/USD H4 TRIX strategy: TRIX15 + EMA9 after costs

The model with the zero-line entry gate returns +12.09% cumulatively over 2020–2025 after base costs, with 4.29% maximum H4-close drawdown. Its separately restarted 2023–2025 account returns −2.28%. In the full-period primary account, 100 of 132 trades cross unobserved in-session minutes. This mixed retrospective result does not establish a reliable future edge.

In simple terms

We buy after TRIX15 crosses above its EMA9 signal while TRIX is positive, and sell short after the opposite crossing while TRIX is negative. We decide on a completed H4 candle and enter at the next scheduled opening. A fixed ATR stop, an opposite signal-line condition or a deadline closes the position. This is a hypothetical USD account.

On this page
01

The question and the rules fixed before calculation

Does zero-line confirmation improve a TRIX signal-line entry after Forex costs? The cluster preset is TRIX15 with an EMA9 signal. We fixed the crossing, stop, exit, sizing and period rules before calculating this strategy. The archived history was already familiar from previous research. We did not search parameter combinations; the historical split is not a prospective unseen test.

02

Original Bid quotes, UTC candles and retained gaps

We verify 7 retained HistData annual M1 archives covering 2019–2025. The normalized input contains 2,553,973 Bid observations; 360 byte-identical duplicate rows are collapsed, and conflicting duplicates would fail validation. Source timestamps use fixed EST, without daylight-saving adjustment: we add five hours to obtain UTC. UTC H4 buckets contain only actual minutes. Of 11,264 buckets, 3,328 contain fewer than 240 observations and 633 lack the final scheduled minute. These are retained, not filled with invented quotes.

03

TRIX15 is a change in a three-stage average

We apply EMA15 to closes, EMA15 to that first average, and EMA15 to the second. Each stage starts with the mean of its first 15 defined inputs and then uses weight 2/16. TRIX is the one-observation percentage change of the third average. It is not the TEMA price formula 3×EMA1−3×EMA2+EMA3, and it has no fixed overbought or oversold band. Across a missing scheduled H4 bucket, this change spans the gap; the entry crossing still requires adjacent scheduled buckets.

α15 = 2/16; E1_t = EMA15(C)_t; E2_t = EMA15(E1)_t; E3_t = EMA15(E2)_t
TRIX_t = 100 × (E3_t − E3_prev) / E3_prev

04

The EMA9 signal, ATR14 and available history

The signal is an EMA9 of TRIX values, not an EMA9 of price. It starts with the mean of the first nine defined TRIX readings, then uses weight 2/10. With zero-based indexing, the three price averages first exist at 14, 28 and 42, TRIX at 43, the signal at 51 and a crossing at 52. Wilder ATR14 starts with the mean of 14 true ranges, then uses weight 1/14. Recursions continue over observed H4 buckets, including partial buckets and gaps; they do not restart each Monday. Display rounding never determines a signal.

α9 = 2/10; S_t = S_prev + α9 × (TRIX_t − S_prev)
ATR14_t = (13 × ATR14_prev + TR_t) / 14

05

A completed crossing and strict zero confirmation

When flat, buy if previous TRIX is at or below its previous signal and current TRIX is strictly above its current signal, with current TRIX strictly positive. Sell short for the mirrored crossing and strictly negative TRIX. Previous equality qualifies; current equality with the signal or zero does not. Current ATR must be positive, both signal-line readings must exist, and the two H4 anchors must be exactly four hours apart. Enter only at the immediately next scheduled H4 timestamp with an observed M1 opening inside the account period and the model trading week. A missing exact opening cancels the entry; a later minute does not rescue it.

Long: TRIX_prev ≤ S_prev; TRIX_t > S_t; TRIX_t > 0
Short: TRIX_prev ≥ S_prev; TRIX_t < S_t; TRIX_t < 0

06

One fixed stop and the correct liquidation side

The stop is fixed at the modeled entry fill minus 2×signal ATR for a long, or plus 2×ATR for a short. Long entries pay modeled Ask plus slippage; shorts enter at Bid minus slippage. Long stop triggers use observed Bid, short triggers use modeled Ask. Reject the entry if the stop is nonpositive, if a long stop is at or above Bid at entry, or if a short stop is at or below modeled Ask at entry. There is no target or trailing stop. At each observed minute opening, a stop gap takes priority over a pending indicator exit, then an overdue deadline; only afterward may that minute's range trigger the stop.

D = 2 × ATR14_signal
Long: SL = E − D
Short: SL = E + D

07

Indicator exits, calendar deadlines and missing openings

For a long, completed valid TRIX at or below its signal queues an exit; for a short, TRIX at or above its signal does so. This is a level condition, not a new crossing or a zero-line exit. The queue survives missing quotes. Use the first observed minute opening at or after its scheduled cutoff, with stop-gap priority. The deadline is the earliest of 30 calendar H4 intervals after entry, Friday 17:00 New York time, or the account period end. A surviving position uses the minute close exactly at a deadline when available, after that minute's stop checks; otherwise execution waits for a later opening. The period end never reads a later quote and can use a flagged last-close fallback. An earlier indicator queue does not wait for a deadline close. No same-opening re-entry follows an opening or intraminute exit.

08

USD collateral, the notional cap and net R

Each account starts with 10,000 USD. Quantity targets a 1% nominal stop loss including both commissions and adverse exit slippage, but entry notional plus entry commission cannot exceed available cash. This is a USD collateral and mark-to-market model, not actual EUR delivery or a historical broker margin schedule. The cash cap reduces size in 130 of 132 full-account trades. Fractional EUR quantities are allowed. Net R divides realized net P&L, including financing, by the planned entry loss. Future holding charges and opening gaps are outside that nominal loss budget.

L_unit = D + slip + 2 × commission_per_EUR
q = min[0.01 × B / L_unit, B / (|E| + commission_per_EUR)]
R_net = P_net / (q × L_unit)

Formula symbols: E and X are modeled entry and exit fills, separate from the chart's Bid-reference markers. B: pre-entry USD cash; d: +1 long or −1 short; q: EUR quantity; D: 2×signal ATR14; SL: stop trigger in Bid for longs or modeled Ask for shorts; carry: USD per EUR per rollover unit; U: accrued units; X_liq: estimated liquidation fill; P_net: net USD P&L; L_unit: planned USD loss per EUR. S in formulas is the EMA9 signal; S on the chart marks the signal candle.

09

Forex costs and complete account reruns

Base assumptions are a 1.00 pip spread, 0.10 pip adverse slippage per leg, 3.50 USD commission per 100,000 EUR per leg, and a 0.20 pip holding debit per rollover unit for either direction. The stress case doubles all four; the zero-cost case removes them. New York weekday 17:00 cutoffs use three units on Wednesday and one on other weekdays, without a holiday value-date calendar. Exact entry or open/close exit at a cutoff excludes that unit; an exit later within the cutoff minute includes it. These are research debits, not reconstructed historical swaps or measured spreads. Full returns are +14.86% without costs, +12.09% at base costs and +9.10% at higher costs. Every scenario rebuilds fills, stops, quantities and cash.

Ask = Bid + spread_pips × 0.0001
P_net = d × q × (X − E) − 2q × commission_per_EUR − q × carry × U

The predefined cost scenarios

The predefined cost scenarios0.00%TRIX15 + zero gate ·zero costs+14.86%TRIX15 + zero-line gate+12.09%TRIX15 + zero gate ·higher costs+9.10%
Costs and full-account results
Account or scenarioNet return %Commissions · USDHolding debits · USDModeled spread · USDAdverse slippage · USD
TRIX15 + zero gate · zero costs+14.860.000.000.000.00
TRIX15 + zero-line gate+12.0990.6554.38129.5025.90
TRIX15 + zero gate · higher costs+9.10178.81106.96255.4451.09
Complete reruns change fills, fixed stops, quantities and cash. Commission, holding, spread and slippage columns are ledger diagnostics, not fees to subtract again from net return.
10

A positive full result and a losing later account

The continuous account returns +12.09% across 132 trades: 58 positive and 74 negative net outcomes. Profit factor is 1.49; maximum sampled drawdown is 4.29% and observed-bucket occupancy 13.29%. The independently restarted 2020–2022 account returns +14.80%, while the 2023–2025 account returns −2.28%. These are cumulative period returns, not annual rates. The positive six-year total does not describe the later experience or prove persistence. A cash reference stays at 10,000 USD with zero assumed interest and a different exposure profile.

The continuous accounts after costs

The continuous accounts after costs8,6169,44110,26611,09111,916TRIX15 + zero-line gateTRIX15 without zero gate202020232026
Both accounts start with 10,000 USD. H4-close marks estimate liquidation costs and accrued holding charges; they do not show intraminute risk.
11

What the zero-line gate changes in this history

The control removes only the positive/negative TRIX entry gate. Its signal-line crossing, opposite-level exits, ATR stop, data eligibility, sizing and costs remain identical. It returns −7.97% with 20.75% sampled drawdown over the full period, versus +12.09% and 4.29% with the gate. In the restarted later period, the filtered account returns −2.28% versus −15.90% without the gate; both lose. This filter comparison is retrospective, not a claim of statistical significance or superiority to studies with different dates and risk rules.

Independent historical account comparison
Account or scenarioNet return %H4-close drawdown %TradesProfit factorObserved-bucket occupancy %
TRIX15 + zero-line gate · Continuous 2020–2025+12.094.291321.4913.29
TRIX15 without zero gate · Continuous 2020–2025−7.9720.753780.9141.56
TRIX15 + zero-line gate · Independent 2020–2022+14.801.53652.6414.51
TRIX15 without zero gate · Independent 2020–2022+9.516.321881.2243.57
TRIX15 + zero-line gate · Independent 2023–2025−2.284.29670.8312.04
TRIX15 without zero gate · Independent 2023–2025−15.9019.301900.6339.52
USD cash · zero assumed interest0.000.00——0.00
12

What incomplete observations leave uncertain

The retained history contains 87,645 unobserved minutes inside the model Sunday 17:00 to Friday 17:00 New York week. That classification does not distinguish holidays, no quote updates and feed omissions. Of 132 primary trades, 100 cross such minutes, 32 use a partial signal bucket and 5 use a last-available signal close before the scheduled cutoff. Delayed indicator exits: 0; period-end last-close fallbacks: 0. In the full primary account, 4 weekly-close exits occur after their scheduled deadline, with a maximum delay of 49 hours; the third illustrated trade closes at the observed Sunday opening after its Friday deadline. Gaps can conceal earlier stop touches or different fills. Removing affected trades at their original quantities leaves a ledger P&L of −636.38 USD; this is an ex-post diagnostic, not an executable avoidance filter or a rebuilt account return.

Data-quality and execution diagnostics
Account or scenarioTrades
Trades crossing unobserved in-session minutes100
Trades using a partial signal bucket32
Trades using a stale signal-close proxy5
Delayed indicator exits0
Period-end last-close fallbacks0
13

The first early and later trades

The first completed early trade opens on 2020-01-23 20:00 UTC and records +0.799 net R. The first completed later trade opens on 2023-02-17 00:00 UTC and records −0.478 net R. Selection is chronological. H4 panels show actual Bid candles, TRIX15, its EMA9 signal and the fixed stop. S marks the completed signal candle, E the raw Bid entry reference and X the Bid exit reference interval. For shorts, the stop is plotted at its Bid equivalent; the ledger stop and liquidation reference use modeled Ask. Fills separately include slippage. Each example has its own symmetric oscillator scale around zero.

First completed early trade

First completed early trade1.100771.103821.106871.109921.11297USD per EUR · observed BidTRIX15 / signal · %−0.0222980.0000000.022298TRIX15EMA9(TRIX)SLSEX2020-01-20 16:002020-01-23 00:002020-01-27 04:00

Select a candle with the chart, slider or arrow keys. Prices use five decimals and oscillator values six; rounded values do not determine decisions.

Opening · UTC
2020-01-20 16:00 UTC
Available · UTC
2020-01-20 20:00 UTC
Bid open
1.10828
Bid high
1.10920
Bid low
1.10811
Bid close
1.10918
TRIX15 · percent
−0.011235
EMA9 of TRIX · percent
−0.005548
Fixed stop · liquidation quote
1.10927
Trade examples · modeled fills and net R
Opening · UTCEntry fill after costsExit fill after costsNet R
2020-01-23 20:00 UTC1.105511.10235+0.799
Chronological selection: 2020-01-23 20:00 UTC, +0.799 net R. Actual H4 Bid candles; TRIX and its signal share the oscillator pane. S: signal; E/X: Bid references; SL: fixed stop plotted as Bid equivalent for shorts.

First completed later trade

First completed later trade1.058961.064901.070851.076801.08274USD per EUR · observed BidTRIX15 / signal · %−0.0336340.0000000.033634TRIX15EMA9(TRIX)SLSEX2023-02-13 20:002023-02-16 04:002023-02-20 04:00

Select a candle with the chart, slider or arrow keys. Prices use five decimals and oscillator values six; rounded values do not determine decisions.

Opening · UTC
2023-02-13 20:00 UTC
Available · UTC
2023-02-14 00:00 UTC
Bid open
1.07171
Bid high
1.07322
Bid low
1.07139
Bid close
1.07308
TRIX15 · percent
−0.030305
EMA9 of TRIX · percent
−0.033634
Fixed stop · liquidation quote
1.07261
Trade examples · modeled fills and net R
Opening · UTCEntry fill after costsExit fill after costsNet R
2023-02-17 00:00 UTC1.066521.06940−0.478
Chronological selection: 2023-02-17 00:00 UTC, −0.478 net R. E/X show Bid references; short liquidation uses modeled Ask in the ledger. The stop is displayed as a Bid equivalent; fills include adverse slippage separately.
14

An example selected by its opposite net result

The third example is the first later trade with a strictly opposite net-P&L sign to the first later trade. It opens on 2023-02-22 08:00 UTC and records +2.047 net R. Zero is not an opposite sign. This outcome-conditioned choice explains mechanics and is not a representative sample. All examples already belong to the account totals. A stop marker identifies its source M1 interval within an H4 candle; it is not an exact tick time or evidence of a real fill.

First later trade with the opposite net result

First later trade with the opposite net result1.051221.056541.061861.067181.07250USD per EUR · observed BidTRIX15 / signal · %−0.0377490.0000000.037749TRIX15EMA9(TRIX)SLSEX2023-02-17 08:002023-02-22 08:002023-02-27 08:00

Select a candle with the chart, slider or arrow keys. Prices use five decimals and oscillator values six; rounded values do not determine decisions.

Opening · UTC
2023-02-17 08:00 UTC
Available · UTC
2023-02-17 12:00 UTC
Bid open
1.06438
Bid high
1.06611
Bid low
1.06236
Bid close
1.06256
TRIX15 · percent
−0.015244
EMA9 of TRIX · percent
−0.011766
Fixed stop · liquidation quote
1.07037
Trade examples · modeled fills and net R
Opening · UTCEntry fill after costsExit fill after costsNet R
2023-02-22 08:00 UTC1.065311.05462+2.047
Outcome-conditioned selection: 2023-02-22 08:00 UTC, +2.047 net R. This explains the rule and is not a representative sample. Examples already belong to account totals.
15

Annual paths and sampled risk

Annual returns compare successive year-end liquidation-equity marks from the continuous account and compound rather than add. Each H4-close mark estimates both commissions, adverse exit slippage and accrued holding charges on an open position; the initial peak includes starting cash. Drawdown cannot show the worst intraminute move. Occupancy is the fraction of observed H4 buckets containing any position interval, not exact elapsed exposure; an exit exactly at the opening does not occupy the following bucket. Separate periods restart cash and positions while retaining earlier indicator history. A nominal one-percent stop budget does not guarantee a one-percent loss cap.

V = B + d × q × (X_liq − E) − 2q × commission_per_EUR − q × carry × U

Year-by-year results of the continuous accounts

Year-by-year results of the continuous accounts202020212022202320242025TRIX15 + zero-line gateTRIX15 without zero gate
Year-by-year results of the continuous accounts
YearTRIX15 + zero-line gateTRIX15 without zero gate
2020+3.65+8.00
2021+1.01−2.97
2022+9.66+4.50
2023−1.59−6.52
2024−0.60−4.64
2025−0.18−5.72
Returns compare consecutive year-end liquidation-equity marks. They compound; restarted early and later accounts use different cash paths.
16

Reproduce the account and interpret the evidence

Downloads contain the frozen rules, original-archive hashes, complete H4 evidence, all account ledgers and a standalone replay. Obtain the original seven annual M1 ZIPs from HistData and keep their names; the replay requires NumPy. A separate Decimal checker reconstructs indicators, discrete decisions and cash paths independently. This study uses one source of Bid quotes and a modeled Ask, with a simple holding debit rather than historical broker swaps. Known data gaps, assumed execution and a losing later period limit the positive full-period result. No future returns or actual execution quality are established.

Run the replay and independent checker with the frozen protocol and original seven annual M1 ZIPs. The replay needs NumPy; source hashes are pinned and every scenario is rebuilt.

python3 eurusd-trix-replay.py --protocol eurusd-trix-protocol.json --raw-dir raw --output replay.json
python3 eurusd-trix-independent-check.py --protocol eurusd-trix-protocol.json --evidence eurusd-trix-evidence.json --raw-dir raw

Frequently asked questions

Was this TRIX strategy profitable after modeled costs?

The full 2020–2025 account with the zero-line entry gate returns +12.09% and the higher-cost full rerun +9.10%. However, the separately restarted 2023–2025 account returns −2.28%. The full positive result is historical and depends on the stated quotes, dates, costs and execution model; it does not establish a reliable future edge.

Is the EMA9 signal an average of EUR/USD prices?

No. It is an EMA of TRIX readings. TRIX itself is the one-observation percentage change in a third successive EMA15 of price. A TRIX/signal crossing and a TRIX/zero crossing are different events. This study requires the former and uses the current zero sign as a separate entry gate.

Why do the two accounts use the same exit rule?

The comparison changes only the zero-sign entry gate. A long exits when completed TRIX is at or below its signal, and a short when it is at or above. Requiring a new crossing or adding a zero exit in only one account would change more than the entry filter. Other stops and deadlines are also identical.

Does 1% risk mean every trade can lose only 1%?

No. The nominal budget includes the modeled stop distance, both commissions and adverse exit slippage. The cash cap often reduces quantity. Holding charges, opening gaps, missing quotes and real execution can change losses. H4-close drawdown is sampled risk, not a continuous worst-case bound.

Are the candles complete and the Ask prices observed?

No. We retain partial H4 buckets and gaps in actual M1 Bid observations rather than inventing quotes. Ask is Bid plus the fixed scenario spread, not measured historical Ask. Source fixed-EST timestamps and the daylight-saving New York trading-week calendar are treated separately. These choices are disclosed limitations.

How should I interpret the times, markers and historical split?

Candle timestamps are UTC H4 openings; a close-based signal is available at the scheduled cutoff four hours later. S is the signal candle, E and X are Bid reference intervals; the ledger separately models Ask and slippage where required. Stops have M1 interval precision. The earlier and later periods were already familiar history and are not a prospective unseen test.

Primary sources

Download data and reproduction files

Created by the MyProfitFactor editorial team.

Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.

Scope and research limitations

One Bid source, modeled Ask, assumed costs and fractional quantities do not establish actual fills or future returns. Source gaps and partial buckets remain material limitations. The later period loses, and there is no prospective unseen-test claim.