Independent market intelligence
Research over noise · Risk before return
Crypto · Strategy research

Bitcoin H4: Supertrend + ADX after trading costs

Does an ADX trend-strength gate improve a Bitcoin Supertrend strategy, or mainly keep the account out of the market? We freeze the rules, compare both versions and retain the unfavorable evidence.

12 min read

In simple terms

Under these rules, we buy spot Bitcoin only after a completed H4 candle changes Supertrend to bullish and its ADX14 is at least 25. We sell after a bearish change, regardless of ADX. The filtered Bitcoin account gains +164.30% in this historical sample, but the unfiltered version gains more, +639.91%, with a larger drawdown. The same filtered rules return −17.90% on Ethereum. These outcomes do not establish a universal profitable edge.

Study scope

Retrospective educational simulation, 2020-01-01 through 2026-10-31 UTC. Each account begins with 10,000 USDT and allocates its available cash to one unleveraged spot position. Cash earns zero. This is an allocation experiment, not a suggested position size, live signal or forecast.

Contents
01

What Supertrend and ADX each contribute

Supertrend combines price with an ATR-based volatility band to define a bullish or bearish state. ADX measures trend strength in either direction. In this model, Supertrend supplies the direction and ADX only accepts or rejects a new entry. Even when ADX is at least 25, entry still requires a bullish Supertrend flip. The question is whether that gate improves this explicit rule set after costs.

02

Data, archive checks and H4 timing

The inputs are Binance spot BTC/USDT and ETH/USDT H4 OHLCV, from January 2019 through October 2026. All 188 monthly archives match their SHA256 files; each normalized series has 17,161 records. The year 2019 is indicator warm-up. Each series has five absent H4 buckets, including one in the evaluation period, and 13 source bars whose recorded close time is shorter than four hours. We retain those source bars, disclose them and wait for the scheduled H4 boundary before using their signals. No missing price is invented.

03

ATR10 and the Supertrend bands

True Range is the largest of high minus low, the absolute high-to-previous-close gap and the absolute low-to-previous-close gap. The first row uses high minus low. ATR10 starts with the mean of ten observations, then uses Wilder smoothing. Multiply the previous ATR by nine, add the current TR and divide the sum by ten. Basic bands equal the high-low midpoint plus or minus three times the current ATR10 value. Final bands carry their previous value unless the declared reset conditions apply; they are not simply fresh basic bands on every candle.

ATR10_t = [9 × ATR10_(t−1) + TR_t] / 10
basicUpper_t = (H_t + L_t) / 2 + 3 × ATR10_t
basicLower_t = (H_t + L_t) / 2 − 3 × ATR10_t

04

The exact state changes and initialization

Initialize Supertrend as bearish at the first finite ATR. Reset the upper band when its new basic value is lower than the prior upper band, or the previous close was above that prior band. Reset the lower band when its new basic value is higher than the prior lower band, or the previous close was below it. A previously bearish state becomes bullish only when the completed close exceeds the current final upper band. A previously bullish state becomes bearish only below the current final lower band. Equality preserves the state.

05

ADX14, directional movement and the gate

Positive directional movement uses the high increase only when it is positive and exceeds the low decrease; negative movement uses the opposite condition. Ties contribute zero to both. Wilder-smoothed 14-period movement and TR produce the directional indicators. DX is 100 times their absolute difference divided by their sum, with a zero denominator mapped to zero. ADX14 starts at the mean of the first 14 finite DX values, then uses Wilder smoothing. The fixed entry gate is ADX14 ≥ 25 on the signal candle; no rising-ADX or additional DI-cross rule is added.

06

A bullish flip must qualify immediately

There is at most one spot long position. A completed bullish Supertrend flip schedules an entry only if the account is flat and ADX14 is at least 25. If the gate fails, that entire flip is skipped. A later increase in ADX does not create a delayed entry while Supertrend remains bullish. The unfiltered control removes only the ADX threshold. Both models use the same history, indicator definitions, evaluation boundaries and accounting.

07

Entry, exits and gaps

A signal becomes available at the scheduled end of its H4 bucket. Entry is modeled at the exact following H4 open with adverse execution; if that bucket is missing, the entry request is canceled. A bearish flip exits an existing long at the next observed open, regardless of ADX. The exit may cross a data gap. At the final evaluation boundary, any open position is liquidated at the last recorded close and labeled separately. Each subperiod starts flat, retaining past indicator history without importing a pre-boundary entry signal.

08

Supertrend is not a resting stop here

This protocol has no intrabar protective stop or profit target. The displayed Supertrend line defines a close-confirmed change of state; touching it during a live candle does not execute an order. Price can fall substantially before the candle finishes or the exit is filled. A stop order at the line would be a different strategy and would need a new execution test. H4-close drawdown also misses equity extremes inside each candle.

09

Cash allocation and modeled trading costs

At each entry, the available USDT covers both the purchase and its fee. The base case charges 0.10% per side and moves each fill adversely by 0.05%; stress uses 0.20% and 0.10% per side. Quantity equals cash divided by the product [open × (1 + adverse execution) × (1 + fee)]. Sale proceeds equal quantity × reference price × (1 − adverse execution) × (1 − fee). These are explicit assumptions, not historical bid/ask reconstruction or a particular account tier. Fractional units ignore exchange size limits; there is no borrowing, perpetual funding, cash interest or tax model.

q = C / [P_E × (1 + a) × (1 + f)]
C_next = q × P_X × (1 − a) × (1 − f)

10

Read the gate without treating it as a signal

The arithmetic example below shows an ATR band midpoint, basic bands and whether an entered ADX value passes the fixed threshold. Final Supertrend bands still need their earlier state, and a passing gate still needs a completed bullish flip. Changing these example inputs does not rerun the historical test, change its frozen settings or produce a live recommendation.

Basic bands and ADX gate: arithmetic example

Editable arithmetic inputs, not live data or a backtest. The study fixes the multiplier at 3 and the ADX gate at 25. A passing gate alone is not an entry signal.

Basic upper band
—
Basic lower band
—
ADX ≥ 25?
—

basic upper = midpoint + k × ATR; basic lower = midpoint − k × ATR; entry gate = ADX14 ≥ 25

11

Full-sample results and the fair comparison

The filtered Bitcoin account returns +164.30% from 63 trades, versus +639.91% from 170 trades without the ADX gate. Maximum H4-close drawdown is 33.75% versus 47.01%. The filter holds Bitcoin for 20.41% of elapsed time, compared with 51.26% for the control. Lower drawdown accompanies much less exposure and lower total return; it does not by itself prove better signal quality. Profit factor uses net USDT trade P&L, including both fees and adverse fills. Buy-and-hold uses the same cash and cost convention.

Full sample · 2020–October 2026
CaseNet returnMax. H4-close drawdownTradesNet profit factorTime invested
BTC · ADX gate+164.30%33.75%631.39320.41%
BTC · no ADX gate+639.91%47.01%1701.29951.26%
BTC · buy and hold+975.01%77.04%1—100.00%
USDT account equity at observed H4 closes. Every account starts at 10,000 USDT. The three lines use identical base-cost assumptions; drawdown can be deeper inside a candle.
BTC · ADX gateBTC · no ADX gateBTC · buy and hold
USDT account equity at observed H4 closes. Every account starts at 10,000 USDT. The three lines use identical base-cost assumptions; drawdown can be deeper inside a candle.
12

Earlier, later and Ethereum results

The earlier period is 2020–2023; the later period is January 2024 through October 2026. Each is a separate flat-start run with 10,000 USDT, not a sliced equity curve. Later Bitcoin return is +11.25% with the gate and +27.66% without it. Applying the identical settings to Ethereum yields −17.90% filtered versus +651.67% unfiltered over the full sample. This transfer failure matters. The split and the second asset are retrospective comparisons, not untouched prospective evidence.

Separate period and transfer runs
CaseNet returnMax. H4-close drawdownTradesNet profit factorTime invested
BTC · ADX · earlier+137.58%32.91%341.73319.43%
BTC · control · earlier+479.59%47.01%961.52651.12%
BTC · hold · earlier+485.90%77.04%1—100.00%
BTC · ADX · later+11.25%33.75%291.11621.80%
BTC · control · later+27.66%39.69%741.13051.45%
BTC · hold · later+82.93%53.45%1—100.00%
ETH · ADX gate−17.90%51.65%590.90918.64%
ETH · no ADX gate+651.67%55.81%1741.15451.72%
ETH · ADX · earlier−9.04%51.65%310.91317.84%
ETH · ADX · later−9.74%44.50%280.90519.77%
ETH · control · earlier+561.78%55.20%1001.25453.99%
ETH · control · later+13.58%49.46%741.04548.52%
ETH · buy and hold+1,641.18%81.12%1—100.00%
13

Cost stress and what zero costs mean

The filtered full-sample Bitcoin return becomes +118.79% under the declared stress costs. Its later-period stress result is +1.98%. Zero-cost cases are retained beside both base and stress cases, rather than replacing them. Because entries, exits and position direction depend only on the source indicators here, costs change quantity, compounding and net trade signs, not the signal dates. Differences between account returns are not a simple sum of deducted commissions.

Declared cost comparisons
CaseNet returnMax. H4-close drawdownTradesNet profit factorTime invested
BTC · ADX · zero costs+219.29%31.77%631.50620.41%
BTC · ADX gate+164.30%33.75%631.39320.41%
BTC · ADX · stress costs+118.79%38.91%631.29420.41%
BTC · control · zero costs+1,132.16%45.96%1701.42251.26%
BTC · no ADX gate+639.91%47.01%1701.29951.26%
BTC · control · stress costs+344.31%48.03%1701.19851.26%
BTC · ADX · later zero costs+21.36%29.39%291.22721.80%
BTC · ADX · later+11.25%33.75%291.11621.80%
BTC · ADX · later stress+1.98%38.91%291.02021.80%
BTC · control · later zero costs+59.39%35.94%741.27251.45%
BTC · control · later+27.66%39.69%741.13051.45%
BTC · control · later stress+2.25%46.82%741.01151.45%
14

Data limitations and reproducibility

Indicators advance across observed source H4 records without filling absent buckets. Shortened source candles cannot trigger early execution. One missing H4 bucket lies within the tested period, at 2020-02-19 12:00 UTC; four more belong to warm-up. The downloadable package records those gaps, archive hashes, all cases and the protocol. Execution at the following open is a simulation convention, not guaranteed real liquidity. USDT denomination adds stablecoin and venue risk; it is not identical to a dollar bank balance.

15

Two simulated trades, with exact event times

The charts show the first positive and first negative net filtered trades entered in the later-period run. They are selected by chronological rule, not visual appeal. E and X mark modeled execution prices; F marks the completed bullish signal. Candles are source OHLC, while fills include adverse execution. The lower panel shows ADX14 and the fixed 25 threshold. Prices within the entry candle after its opening fill, and later contextual candles, are not inputs to the earlier signal. There are no S/T orders in this model.

The active Supertrend line is green in a bullish state and red in a bearish state. It is a closing-rule reference, not a resting stop. ADX appears in the lower panel; its dashed threshold is 25. Exact execution times and fills are listed below each chart. Later candle prices provide context only.

First later-period filtered trade with positive net P&L. Source H4 candles; E: entry; X: exit; F: completed signal. UTC; USDT per BTC.
First later-period filtered trade with positive net P&L. Source H4 candles; E: entry; X: exit; F: completed signal. UTC; USDT per BTC.
F · UTC
2024-01-26T12:00:00Z
E · UTC
2024-01-26T12:00:00Z
X · UTC
2024-03-05T20:00:00Z
E · USDT/BTC
41,310.16476
X · USDT/BTC
61,380.27451
ADX on signal candle
29.92
Net P&L (USDT)
+4,828.71
Net trade return
+48.29%
Both commissions (USDT)
24.83
First later-period filtered trade with negative net P&L. Source H4 candles; E: entry; X: exit; F: completed signal. UTC; USDT per BTC.
First later-period filtered trade with negative net P&L. Source H4 candles; E: entry; X: exit; F: completed signal. UTC; USDT per BTC.
F · UTC
2024-06-12T16:00:00Z
E · UTC
2024-06-12T16:00:00Z
X · UTC
2024-06-14T20:00:00Z
E · USDT/BTC
69,768.86700
X · USDT/BTC
65,487.25999
ADX on signal candle
30.82
Net P&L (USDT)
−937.82
Net trade return
−6.32%
Both commissions (USDT)
28.72
16

What the experiment supports

In this sample the ADX gate reduces trades, time invested and drawdown, while also reducing Bitcoin return; the filtered transfer to Ethereum loses money. That is a narrower and more useful conclusion than calling the combination universally better. There was no parameter sweep or replacement of the declared main settings. A different threshold, delayed entry or protective stop needs its own protocol and later evidence. Keep the full sample, subperiods, costs and losing examples together.

Questions and answers

Is an ADX reading of at least 25 enough to enter?

No. ADX does not select bullish direction. This study also requires a completed bullish Supertrend flip while the account is flat.

Can an entry be taken when ADX reaches 25 later?

That is not the tested rule. If ADX is below 25 on the bullish flip candle, the entry is skipped until a later new bullish flip qualifies.

Does touching the Supertrend line trigger a stop?

No. This model exits only after a completed bearish flip and subsequent execution. A resting intrabar stop would change the strategy.

Are these the best Supertrend and ADX settings?

No optimization was performed. ATR10, multiplier 3, ADX14 and threshold 25 are fixed study choices, not evidence of universally optimal parameters.

Does lower drawdown prove the ADX filter is better?

No. The filtered account is invested for much less time. Return, drawdown, costs, subperiods and the unsuccessful Ethereum transfer must be assessed together.

Are the later period and Ethereum a live forward test?

No. Both are retrospective checks. They do not reproduce future execution, all market regimes or the conditions of an individual account.

Sources and reproducibility

Three primary references; the research package and complete main ledger are available below.

Raw archives, checksums, normalized data and calculation source are retained with the research source. Fees and adverse execution are modeled assumptions.

Risk disclosure

Educational information only, not investment or trading advice. Spot crypto can lose most or all of its value. This full-cash allocation model has no intrabar protective stop. Historical simulations do not predict future returns.

Created by the MyProfitFactor editorial team.

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