In simple terms
We buy after a completed TSI cross from zero or below to above zero, while price closes above EMA200. Entry is at the next scheduled H4 open. This is a cash-funded, long-only spot ETH study with fees and adverse slippage.
On this page
The question and the frozen protocol
Does an EMA200 trend gate improve a TSI zero-cross rule after costs? The English protocol was fixed before this calculation. We also predeclared ROC13 as a simpler momentum control. All periods had ended and this history had been used before: the split is retrospective, not an unseen prospective test. No parameter search follows the result.
Official ETH data and gaps
The source comprises 79 verified monthly Binance ETHUSDT H4 archives and 14,434 candles including warm-up from June 2019. Missing scheduled observations: 2; nonstandard source-close timestamps: 11. We retain actual timestamps and use scheduled H4 cutoffs for decisions. No missing candle is invented.
Retained input checks
- Verified monthly H4 source files
- 79
- Observed H4 candles including warm-up
- 14,434
- Observed evaluated H4 candles
- 13,151
- Missing scheduled H4 candles
- 2
- Nonstandard close timestamps
- 11
- Duplicate timestamps
- 0
- Invalid input rows
- 0
| First missing opening · UTC | Missing H4 slots |
|---|---|
| 2019-08-15 04:00 | 1 |
| 2020-02-19 12:00 | 1 |
What TSI 25,13 measures
TSI divides double-smoothed price changes by double-smoothed absolute changes, then multiplies by 100. First apply EMA25, then EMA13, to each series. Positive TSI means positive smoothed momentum, not a guaranteed rising market. This study uses a zero crossing, with no separate TSI signal line. ETH volume is chart context only.
M_t = C_t−C_(t−1); A_t = |M_t|
TSI_t = 100 × EMA13(EMA25(M)) / EMA13(EMA25(A))
Seeding, EMA200 and ATR14
Each EMA starts with the arithmetic mean of its first N contiguous valid inputs; its recursion uses 2/(N+1). The second TSI EMA seeds from 13 valid EMA25 outputs. EMA200 smooths closes, while Wilder ATR14 sizes the stop. A missing H4 candle resets every seed and recursion. Invalid values prevent signals; thresholds are not rounded.
EMA_N seed = mean(first N contiguous valid inputs)
EMA_N,t = EMA_N,t−1 + 2/(N+1) × (input_t−EMA_N,t−1)
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
A closed-bar cross and a later entry
When flat, require previous TSI at or below zero, current TSI strictly above zero, and current close strictly above EMA200. Buy only at the next scheduled H4 open with adverse slippage; cancel a missing or out-of-period entry. All controls share valid current TSI, EMA200, ROC13 and positive ATR14 plus valid prior TSI/ROC13, including controls that omit one input.
TSI_(t−1) ≤ 0 < TSI_t; C_t > EMA200_t
E = next_scheduled_open × (1+s)
Fixed levels and the holding limit
Set D to twice the signal candle's ATR14, stop to entry minus D and target to entry plus 2D. The entry interval counts as one; a surviving position closes at the 30th scheduled H4 cutoff. Period-end liquidation also applies. Levels stay fixed; there is no trailing stop, leverage or overlapping position. A gap can exceed planned risk.
D = 2 × ATR14_signal; SL = E−D; T = E+2D
Exit order and the precision of evidence
An observed opening gap has priority, followed by barrier touches and then the time exit. A missing deadline moves the exit to the next observed open after opening-level checks. H4 double touches require M1 replay; unresolved cases use stop first plus a complete target-first alternative account. Single-touch H4 exits identify intervals, not exact historical fills.
Cash size, fees and net R
Each account begins with 10,000 USDT. Planned loss at the nominal stop, including both fees and slippage, is capped at 1% of pre-entry cash. The purchase cost including fee also caps quantity. Net R is realized net P&L divided by the planned monetary stop loss. Fractional ETH is allowed; historical lot/notional constraints are not reconstructed. A 2D target is not +2 net R.
L_unit = E(1+f)−SL(1−s)(1−f)
q = min[0.01 × Cash / L_unit, Cash / (E(1+f))]
Net R = Net P&L / (q × L_unit)
Three complete cost scenarios
Base assumptions are 0.10% fee and 0.05% adverse slippage per side. Higher costs are 0.20% and 0.10%; zero cost removes both. These are fixed model assumptions, not current venue quotes. Every scenario reruns prices, levels, quantities and subsequent cash. Realized fees, entry/exit slippage and turnover are reported separately.
X = exit_reference × (1−s)
Net P&L = q(X−E)−f × q(E+X)
| Account / case | Fee per side · % | Slippage per side · % |
|---|---|---|
| TSI zero cross + EMA200 | 0.10 | 0.05 |
| Primary rules · zero costs | 0.00 | 0.00 |
| Primary rules · higher costs | 0.20 | 0.10 |
Fee is paid on the adjusted transaction value. Slippage changes the fill price; it is not an extra fee.
| Account / case | Fees · USDT | Entry slippage · USDT | Exit slippage · USDT | Turnover / initial cash |
|---|---|---|---|---|
| TSI zero cross + EMA200 | 617.92 | 153.96 | 155.00 | 61.79 |
| Primary rules · zero costs | 0.00 | 0.00 | 0.00 | 71.10 |
| Primary rules · higher costs | 1,113.76 | 277.41 | 279.47 | 55.69 |
Full-period gain, later-period loss
The continuous primary account returns +11.52% with 13.23% maximum H4-close drawdown and 108 trades. Independently restarted early and later accounts return +21.55% and −8.25%. Open positions are marked after modeled selling costs. The later loss matters despite the full-period gain. Fully invested buy-and-hold has different exposure and risk.
Liquidation equity = Cash + q × C × (1−s)(1−f)
| Account / case | Net account return · % | Max. H4-close drawdown · % | Completed trades | Observed bars with a position · % | Final cash · USDT |
|---|---|---|---|---|---|
| TSI zero cross + EMA200 · Continuous 2020–2025 | +11.52 | 13.23 | 108 | 12.74 | 11,151.81 |
| Buy-and-hold · Continuous 2020–2025 | +2,193.85 | 81.12 | 1 | 100.00 | 229,385.14 |
| TSI zero cross + EMA200 · Independent 2020–2022 | +21.55 | 5.43 | 56 | 13.98 | 12,154.75 |
| Buy-and-hold · Independent 2020–2022 | +823.31 | 81.12 | 1 | 100.00 | 92,330.98 |
| TSI zero cross + EMA200 · Independent 2023–2025 | −8.25 | 11.76 | 52 | 11.50 | 9,174.85 |
| Buy-and-hold · Independent 2023–2025 | +147.69 | 65.12 | 1 | 100.00 | 24,769.37 |
Continuous primary account at H4 closes
What the controls reveal
Removing only the EMA200 gate gives +8.33% over the full period and −10.47% later. The gate improves these modeled outcomes, but the later primary account still loses. ROC13 + EMA200 returns +35.59% overall and +6.08% later. ROC crosses from at or below zero to above zero. It is a simpler comparison with different trade frequency, not a causal isolation of TSI smoothing.
ROC13_t = 100 × (C_t/C_(t−13)−1)
Control: ROC13_(t−1) ≤ 0 < ROC13_t; C_t > EMA200_t
| Account / case | Net account return · % | Max. H4-close drawdown · % | Completed trades | Observed bars with a position · % |
|---|---|---|---|---|
| TSI zero cross + EMA200 · Continuous 2020–2025 | +11.52 | 13.23 | 108 | 12.74 |
| TSI without EMA200 gate · Continuous 2020–2025 | +8.33 | 21.21 | 204 | 24.34 |
| ROC13 zero cross + EMA200 · Continuous 2020–2025 | +35.59 | 13.28 | 220 | 27.37 |
| TSI zero cross + EMA200 · Independent 2020–2022 | +21.55 | 5.43 | 56 | 13.98 |
| TSI without EMA200 gate · Independent 2020–2022 | +21.00 | 12.77 | 97 | 25.03 |
| ROC13 zero cross + EMA200 · Independent 2020–2022 | +27.82 | 8.32 | 112 | 28.55 |
| TSI zero cross + EMA200 · Independent 2023–2025 | −8.25 | 11.76 | 52 | 11.50 |
| TSI without EMA200 gate · Independent 2023–2025 | −10.47 | 16.65 | 107 | 23.65 |
| ROC13 zero cross + EMA200 · Independent 2023–2025 | +6.08 | 12.33 | 108 | 26.20 |
| Account / case | Net account return · % | Max. H4-close drawdown · % | Completed trades | Observed bars with a position · % |
|---|---|---|---|---|
| Primary rules · zero costs · Continuous 2020–2025 | +24.95 | 10.24 | 108 | 12.74 |
| Primary rules · higher costs · Continuous 2020–2025 | +3.88 | 16.12 | 108 | 12.78 |
Gaps and ordering diagnostics
The primary full account has 0 double-touch exits, 0 unresolved cases, 1 trade spanning missing H4 data and 0 missing-entry cancellations. Complete alternative ordering accounts remain available. Removing a gap-affected recorded trade at its original quantity is a ledger diagnostic, not an executable avoidance rule or a rebuilt account return.
| Period | H4 bars touching both levels | Double touches resolved by minutes | Unresolved ordering cases | Trades across an H4 gap | Missing-next-bar cancellations | Target-first alternative return · % |
|---|---|---|---|---|---|---|
| Continuous 2020–2025 | 0 | 0 | 0 | 1 | 0 | +11.52 |
| Independent 2020–2022 | 0 | 0 | 0 | 1 | 0 | +21.55 |
| Independent 2023–2025 | 0 | 0 | 0 | 0 | 0 | −8.25 |
| Period | Excluded trades | Retained trades | Retained ledger P&L · USDT |
|---|---|---|---|
| Continuous 2020–2025 | 1 | 107 | +1,255.46 |
| Independent 2020–2022 | 1 | 55 | +2,258.40 |
| Independent 2023–2025 | 0 | 52 | −825.15 |
The first early and later trades
The first completed early trade enters at 2020-01-10 16:00 UTC for +1.825 net R; the first later trade enters at 2023-01-29 16:00 UTC for −1.000 net R. H4 views show EMA200, TSI, volume and fixed levels. M15 views use actual minutes around the exit. Chronological selection avoids choosing only attractive trades.
Example 1 · First completed early-account trade
- Entry · UTC
- 2020-01-10 16:00
- Main-ledger exit interval · UTC
- [2020-01-14 12:00, 2020-01-14 16:00)
- Modeled entry fill · USDT/ETH
- 142.60
- Modeled exit fill · USDT/ETH
- 154.06
- Fixed stop
- 136.83 USDT/ETH
- Fixed target
- 154.14 USDT/ETH
- Quantity · ETH
- 16.34924582
- Planned cash risk · USDT
- 100.00
- Net P&L · USDT
- +182.52
- Net R
- +1.825
- Refined exit minute · UTC
- [2020-01-14 13:57, 2020-01-14 13:58)
- Exit reason
- Target barrier
H4 price, EMA200, TSI and ETH volume
- Open
- 138.42
- High
- 143.00
- Low
- 138.05
- Close
- 142.51
- Base volume · ETH
- 99,766.171
- EMA200
- 138.00
- ATR14
- 2.88
- TSI 25,13
- 1.24
Exit context from real M15 candles
- Open
- 152.60
- High
- 154.18
- Low
- 152.59
- Close
- 154.08
- Base volume · ETH
- 12,829.110
Example 2 · First completed later-account trade
- Entry · UTC
- 2023-01-29 16:00
- Main-ledger exit interval · UTC
- [2023-01-30 16:00, 2023-01-30 20:00)
- Modeled entry fill · USDT/ETH
- 1,612.25
- Modeled exit fill · USDT/ETH
- 1,557.82
- Fixed stop
- 1,558.60 USDT/ETH
- Fixed target
- 1,719.54 USDT/ETH
- Quantity · ETH
- 1.73627533
- Planned cash risk · USDT
- 100.00
- Net P&L · USDT
- −100.00
- Net R
- −1.000
- Refined exit minute · UTC
- [2023-01-30 19:09, 2023-01-30 19:10)
- Exit reason
- Stop barrier
H4 price, EMA200, TSI and ETH volume
- Open
- 1,609.08
- High
- 1,626.64
- Low
- 1,603.52
- Close
- 1,611.44
- Base volume · ETH
- 84,247.500
- EMA200
- 1,463.89
- ATR14
- 26.82
- TSI 25,13
- 0.89
Exit context from real M15 candles
- Open
- 1,578.20
- High
- 1,578.39
- Low
- 1,535.00
- Close
- 1,549.44
- Base volume · ETH
- 44,244.234
The first opposite-result example
The third example is the first later-period positive trade with the opposite net-P&L sign to the first later trade. Entry is 2023-02-15 12:00 UTC and the result is +1.786 net R. It already belongs to the totals. Raw candle and marker references are separate from slippage-adjusted modeled fills; the charts do not document actual orders.
Example 3 · First later trade with the opposite result
- Entry · UTC
- 2023-02-15 12:00
- Main-ledger exit interval · UTC
- [2023-02-15 20:00, 2023-02-16 00:00)
- Modeled entry fill · USDT/ETH
- 1,573.05
- Modeled exit fill · USDT/ETH
- 1,674.60
- Fixed stop
- 1,521.85 USDT/ETH
- Fixed target
- 1,675.44 USDT/ETH
- Quantity · ETH
- 1.77106438
- Planned cash risk · USDT
- 97.50
- Net P&L · USDT
- +174.11
- Net R
- +1.786
- Refined exit minute · UTC
- [2023-02-15 20:34, 2023-02-15 20:35)
- Exit reason
- Target barrier
H4 price, EMA200, TSI and ETH volume
- Open
- 1,547.56
- High
- 1,580.00
- Low
- 1,544.50
- Close
- 1,572.26
- Base volume · ETH
- 72,855.737
- EMA200
- 1,541.98
- ATR14
- 25.60
- TSI 25,13
- 0.18
Exit context from real M15 candles
- Open
- 1,645.85
- High
- 1,680.00
- Low
- 1,645.78
- Close
- 1,663.49
- Base volume · ETH
- 31,931.052
Annual paths and the strength of the result
Annual returns use successive year-end equity values from continuous accounts and compound rather than add. The independent later primary account contains 52 trades. Trade count alone does not establish statistical significance. The later loss and stronger ROC13 control limit the positive full-period result. Keep exposure, drawdown, costs and one-venue scope in the interpretation.
Trade count alone does not establish statistical significance or a durable edge.
Annual account returns from the continuous runs
| Period | TSI zero cross + EMA200 | TSI without EMA200 gate | ROC13 zero cross + EMA200 |
|---|---|---|---|
| 2020 | +15.15 | +20.71 | +13.81 |
| 2021 | +8.39 | +6.91 | +13.64 |
| 2022 | −2.61 | −6.23 | −1.17 |
| 2023 | −1.47 | +0.90 | −4.64 |
| 2024 | −5.39 | −8.78 | +7.32 |
| 2025 | −1.58 | −2.73 | +3.65 |
| Account / case | Continuous 2020–2025 | Independent 2020–2022 | Independent 2023–2025 |
|---|---|---|---|
| Net-positive trades · % | 40.74 | 48.21 | 32.69 |
| Positive P&L | 44 | 27 | 17 |
| Negative P&L | 64 | 29 | 35 |
| Zero P&L | 0 | 0 | 0 |
| Profit factor | 1.180 | 1.753 | 0.717 |
| Average net R | +0.109 | +0.357 | −0.159 |
| Median net R | −0.486 | −0.053 | −1.000 |
| Average scheduled holding bars | 15.52 | 16.43 | 14.54 |
| Median scheduled holding bars | 13.00 | 14.50 | 11.50 |
| Cash-capped trades | 0 | 0 | 0 |
| Sum of closed-trade net R | +11.737 | +20.018 | −8.281 |
| Closed-trade drawdown · R | 13.682 | 5.464 | 11.733 |
Reproduce before drawing conclusions
Downloads contain the frozen protocol, verified source manifests, full evidence, replay code and instructions. A separate Decimal40 implementation reconstructs indicators and accounts directly from original CSV rows. Historical candles and fixed costs describe hypothetical executions. This study does not establish future profitability; spot ETH and USDT retain price, liquidity and venue risks.
python3 eth-tsi-replay.py --protocol eth-tsi-protocol.json --raw-dir raw4h --minute-dir raw1m --output replay.json
Questions and answers
Is this Ethereum TSI strategy profitable?
The primary model gains +11.52% over 2020–2025 but returns −8.25% in the independently restarted later account. The simpler ROC13 control performs better in both. These mixed historical results do not establish stable profitability or a general advantage for TSI.
Does any positive TSI reading trigger a buy?
No. We require a new cross: the prior completed TSI is at or below zero and the current reading is above zero. The current close must also exceed EMA200. A TSI already above zero does not create another signal. A separate signal-line cross is not part of this rule.
Why specify EMA seeds and a common validity mask?
Different initialization methods can change early values and signal timing. We use arithmetic-mean seeds and reset after gaps. All variants require the same valid input set, even if a control omits an input from its decision, so initialization alone does not expand one control's eligible history.
Is 2023–2025 an unseen test?
No. The data were already historical and had been used in earlier studies. Independent cash restarts check chronological consistency without pretending the period was unknown. The later loss is retained; parameters were not changed to repair it.
How exact are M15 candles and exit times?
Each M15 candle aggregates 15 actual M1 candles; incomplete groups remain missing. X locates the exit reference interval. A scheduled close may lie on a candle's right boundary. Minute refinement does not reveal tick ordering or prove an actual fill. S and E on H4 identify signal and next-opening references.
Does drawdown include open-position selling costs?
Yes. At every observed H4 close, equity is cash plus ETH valued at the close after modeled selling slippage and fee. Initial cash supplies the first peak. This is sampled liquidation-value drawdown; it does not capture the worst price movement within each candle.
Sources and reproducibility
Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.
Research limitations
Historical prices, fixed costs, fractional quantities and modeled executions do not establish actual fills or future returns. Cash-funded spot exposure still carries price, liquidity, venue and stablecoin risk. Drawdown is sampled at observed H4 closes.