Independent market intelligence
Research over noise · Risk before return
Crypto strategy research · Bitcoin spot

Bitcoin H4 Keltner Channel strategy: does ADX improve the breakout?

The Keltner breakout with ADX14 returns +16.98% over 2020–2025 after baseline costs, with 10.14% maximum H4-close drawdown. The account without the ADX gate returns +54.06% with 8.23% sampled drawdown. The separately restarted filtered early account returns −2.68%, while the separately restarted filtered later account returns +20.21%. A positive full-period result does not establish that the ADX filter helped.

In simple terms

We buy Bitcoin after a completed H4 close crosses above the upper Keltner band and ADX14 is at least 25. The next scheduled opening is the entry reference. We use a fixed ATR14 stop, a close at or below EMA20 to schedule an exit, and a maximum holding time. This is a hypothetical cash-funded spot account.

On this page
01

A channel breakout and one clearly isolated question

Does requiring trend strength improve a Keltner breakout after costs? We fixed one mechanical variant before its first calculation: EMA20, channel ATR10 with multiplier two, and ADX14 at or above 25. The control removes only that ADX threshold. We did not search combinations or change the rules after seeing this result. The source history was already familiar from previous research; these historical periods are retrospective checks, not an unseen prospective test.

02

Original archives, source clocks and retained gaps

We verify 79 retained Binance BTCUSDT H4 ZIPs and their checksum files, spanning June 2019 through December 2025. They contain 14,434 unique observations, 2 missing scheduled intervals and 11 noncanonical source-close rows. Millisecond and microsecond timestamps are normalized to integer UTC seconds; a canonical source close equals its opening plus four hours minus one source timestamp unit. Missing or noncanonical intervals reset every indicator. We retain the raw observations and never invent candles; these are pinned earlier source bytes, not a new download.

03

The modern Keltner band is not a Bollinger band

The basis is EMA20 of closing prices; upper and lower bands are that basis plus and minus 2×Wilder ATR10. The EMA starts with the mean of the first 20 canonical closes and then uses weight 2/21. ATR10 starts with the mean of the first ten true ranges and then uses weight 1/10. The first range in a new segment is high minus low; later ranges also include the previous close. Keltner uses range-based volatility, not the standard deviation of closes. The lower band is shown for context; it is not a separate entry or exit rule in this long-only variant.

EMA20_t = EMA20_prev + (C_t − EMA20_prev) × 2 / 21
U_t = EMA20_t + 2 × ATR10_t; LB_t = EMA20_t − 2 × ATR10_t

Symbols: H/L/C are the observed high, low and close; O is the next scheduled raw opening; prev means the preceding canonical bar. U/LB are the upper/lower Keltner bands; TR is true range; DM is directional movement; smooth_TR and smooth_DM are the stated Wilder sums. DI_plus/DI_minus are the directional components and DX their normalized absolute difference; ATR10 and ATR14 are the separately seeded Wilder ranges. E and X are modeled fills, distinct from chart references; X_ref is the raw exit reference and O_next_observed the first observed opening when an exit is due. The fractions f and s are per-side fee and slippage. B is pre-entry cash in USDT, B_free is free cash after any funded purchase, q is BTC quantity, SL the fixed stop and L_unit the planned loss in USDT per BTC. P_net is realized net profit in USDT, R_net is net R, and V is liquidation equity.

04

ADX measures strength, not a bullish direction

For each transition, upward movement is the change in highs and downward movement is the opposite change in lows. Only the larger positive movement contributes to its directional component; a tie sets both to zero. Wilder sums begin with transitions 1 through 14, giving the first directional readings at zero-based index 14. If the smoothed true-range sum is zero, both DI components are zero. DX compares the absolute difference of the two DI components with their sum; if that DI sum is zero, DX is zero. The first ADX is the mean of 14 DX readings at indices 14 through 27, then uses weight 1/14. ADX alone has no bullish or bearish sign. We do not add a DI-direction or rising-ADX condition.

DI_plus = 100 × smooth_DM_plus / smooth_TR
DI_minus = 100 × smooth_DM_minus / smooth_TR
DX = 100 × |DI_plus − DI_minus| / (DI_plus + DI_minus)
ADX14_t = (13 × ADX14_prev + DX_t) / 14

05

Shared warm-up and a completed upper-band crossing

Both accounts require 200 consecutive canonical observations and a positive, defined protective ATR14. That fixed initialization buffer is distinct from the first available ADX at index 27; it was not selected from performance. At adjacent completed H4 closes, require the previous close at or below its own previous upper band and the current close strictly above its own current upper band. Equality is included only on the previous side. The primary account additionally requires current ADX14≥25; the control keeps the same data gate but omits this threshold. Bands include only information available at their respective completed closes.

C_prev ≤ U_prev; C_t > U_t; ADX14_t ≥ 25

06

Next opening, cash and one fixed protective stop

When flat, queue the immediately next scheduled H4 opening. Cancel a missing opening or an entry outside the account period; a later observation does not rescue it. Entry fill E is the raw opening plus modeled adverse percentage slippage. Fix SL=E−2×ATR14 from the completed signal, using a separate ATR14 rather than the channel ATR10. Reject unless 0<SL<the raw entry opening, and cash and quantity are positive. Later close-time metadata cannot censor an already observed opening. There is one position, no leverage, no adding, no target and no trailing stop.

E = O × (1+s); SL = E − 2 × ATR14_signal

07

Basis exits, missing openings and explicit priorities

A canonical completed close at or below a defined EMA20 schedules an exit at the next opening; a fresh crossing is unnecessary. This exit does not require the entry-only 200-observation gate, ADX threshold or positive ATR after a reset. An already queued exit survives missing observations and later indicator resets. At an observed opening, a gap through the fixed stop has priority, followed by a queued basis exit, then an overdue time limit. Only afterward can the current H4 low touch the stop. A surviving position closes at its 30th scheduled H4 close or the account period end, whichever comes first; the intrabar stop precedes a same-close time exit.

C_t ≤ EMA20_t → X_ref = O_next_observed

08

Nominal one-percent sizing and exact cash accounting

Every account starts with 10,000 USDT. We size the planned stop loss, including entry and stop-exit fees and slippage, to at most 1% of cash, then cap quantity by the fully funded purchase cost. This cap does not reduce the quantity of any primary full-period entry; that observation does not remove its rule. Buy cost and fee leave cash immediately; net sale proceeds return at exit. Fractional quantities are allowed, and historical exchange lot or minimum-notional filters are not reconstructed. Net R is realized net profit divided by the entry's planned monetary loss. Gaps can exceed this nominal budget.

L_unit = E(1+f) − SL(1−s)(1−f)
q = min[0.01 × B / L_unit, B / (E(1+f))]
R_net = P_net / (q × L_unit)

09

Percentage costs require complete account reruns

Baseline assumptions are 0.10% fee and 0.05% adverse slippage on each side. Higher costs use 0.20% and 0.10%; zero costs remove both. Each scenario recalculates fills, fixed stops, quantities and later cash. The full-period results are +35.75% without costs, +16.98% with baseline costs and +5.67% with higher costs. The zero-cost account has 88 trades versus 89 in the baseline account, so this is not a fee subtraction from unchanged trades. These fixed assumptions are not current exchange quotes; spread, order-book impact and liquidity are not separately reconstructed.

X = X_ref × (1−s)
P_net = q × [X(1−f) − E(1+f)]

The fixed cost scenarios

The fixed cost scenariosKeltner + ADX · zerocosts+35.75%Keltner + ADX14≥25+16.98%Keltner + ADX · highercosts+5.67%
Costs, turnover and full-account results
Account or scenarioNet return %Fees · USDTEntry slippage · USDTExit slippage · USDTTraded notional / initial cash
Keltner + ADX · zero costs+35.750.000.000.0076.60
Keltner + ADX14≥25+16.98652.88162.55163.8965.29
Keltner + ADX · higher costs+5.671,134.74282.55284.8256.74
Full reruns change fills, fixed stops, quantities and later cash. Commission and slippage diagnostics are already reflected in net return and must not be subtracted again.
10

A positive total with a losing early account

The continuous primary account returns +16.98% across 89 trades, with profit factor 1.31 and 10.14% maximum sampled drawdown. Its observed-interval position share is 10.06%. Independently restarted 2020–2022 and 2023–2025 accounts return −2.68% and +20.21%. These are cumulative period returns, not annual yields. Fully invested buy-and-hold returns +1,114.49% with 77.04% sampled drawdown over the full period; its much larger market exposure prevents an equal-risk interpretation.

Continuous accounts after baseline costs

Continuous accounts after baseline costs8,62910,75812,88615,01517,143Keltner + ADX14≥25Keltner without ADX gate202020232026
Both accounts start with 10,000 USDT. H4-close liquidation values include estimated exit costs. These are different position paths, not risk-matched investments or continuous intrabar risk measures.
11

The ADX gate underperforms this particular control

With only the ADX threshold removed, the full account returns +54.06% with 8.23% sampled drawdown. In the separately restarted later period it returns +40.31%, versus +20.21% with ADX; later sampled drawdown is 8.23% without ADX and 10.14% with it. The threshold reduces trades and time in positions, but in these comparisons it also reduces return and does not reduce maximum sampled drawdown. This result does not prove that every ADX rule fails. It does not establish a benefit for this fixed gate on this history either.

Independent historical account comparison
Account or scenarioNet return %H4-close drawdown %TradesProfit factorObserved intervals with position %
Keltner + ADX14≥25 · Continuous 2020–2025+16.9810.14891.3110.06
Keltner without ADX gate · Continuous 2020–2025+54.068.231421.5817.36
Keltner + ADX14≥25 · Independent 2020–2022−2.687.61330.867.04
Keltner without ADX gate · Independent 2020–2022+9.806.34581.3113.98
Keltner + ADX14≥25 · Independent 2023–2025+20.2110.14561.5513.08
Keltner without ADX gate · Independent 2023–2025+40.318.23841.7220.74
Buy and hold · base costs · Continuous 2020–2025+1,114.4977.04——100.00
12

Quality flags remain relevant even when counts are zero

In the primary full-period account, 0 trades cross missing H4 intervals and 0 touch noncanonical rows; 0 basis exits are delayed and 0 time or period liquidations use a noncanonical close proxy. The control has 2 trades touching noncanonical rows. Zero primary flags do not mean the source has no defects or prove actual execution. A position keeps its stop across gaps. An exclusion using original quantities is only a post-event ledger diagnostic, not a live avoidance filter or a recalculated account return.

Data-quality and execution diagnostics
Account or scenarioTrades
Trades crossing missing H4 intervals0
Trades touching noncanonical rows0
Delayed basis exits0
Noncanonical-close liquidation proxies0
13

Chronological examples and real elapsed UTC time

The first completed early primary trade enters at 2020-01-07 00:00 UTC and records +0.404 net R. The first completed later primary trade enters at 2023-01-09 00:00 UTC and records +12.573 net R. They are selected chronologically, not because they look typical. Charts show observed OHLC, all three Keltner lines, ADX and the fixed stop; horizontal distances reflect real elapsed UTC time. S marks the completed signal candle, E the raw opening reference and X the raw exit-reference interval or declared close. Modeled fills include slippage separately. ADX's threshold line indicates strength eligibility, not a guaranteed trade.

First completed early primary trade

First completed early primary trade6,8557,2987,7418,1848,626USDT per BTCEMA20Upper bandLower bandADX14 · strength, 0–10002550100SLSEX2020-01-04 04:002020-01-07 04:002020-01-10 00:00

Select a candle using the chart, slider or arrow keys. Prices use two decimals and ADX three; rounded values never determine decisions. Opening and signal availability are separate.

Opening · UTC
2020-01-04 04:00 UTC
Available · UTC
2020-01-04 08:00 UTC
Open
7,333.14
High
7,369.28
Low
7,312.65
Close
7,348.11
EMA20 · USDT per BTC
7,234.42
Channel ATR10 · USDT per BTC
104.03
Upper band · USDT per BTC
7,442.48
Lower band · USDT per BTC
7,026.36
ADX14 · strength, 0–100
20.081
Protective ATR14 · USDT per BTC
99.97
SL · fixed protective stop
7,545.32
Trade examples · modeled fills and net R
Opening · UTCEntry fill after slippageExit fill after slippageNet R
2020-01-07 00:00 UTC7,762.787,874.08+0.404
Chronological selection: 2020-01-07 00:00 UTC, +0.404 net R. Observed H4 candles and Keltner lines; ADX has its own 0–100 scale. S: signal; E/X: raw references; SL: fixed protective stop.

First completed later primary trade

First completed later primary trade16,04217,48618,93020,37321,817USDT per BTCEMA20Upper bandLower bandADX14 · strength, 0–10002550100SLSEX2023-01-06 04:002023-01-10 08:002023-01-14 08:00

Select a candle using the chart, slider or arrow keys. Prices use two decimals and ADX three; rounded values never determine decisions. Opening and signal availability are separate.

Opening · UTC
2023-01-06 04:00 UTC
Available · UTC
2023-01-06 08:00 UTC
Open
16,833.56
High
16,837.87
Low
16,779.96
Close
16,794.06
EMA20 · USDT per BTC
16,792.72
Channel ATR10 · USDT per BTC
85.80
Upper band · USDT per BTC
16,964.32
Lower band · USDT per BTC
16,621.11
ADX14 · strength, 0–100
27.517
Protective ATR14 · USDT per BTC
88.13
SL · fixed protective stop
16,960.52
Trade examples · modeled fills and net R
Opening · UTCEntry fill after slippageExit fill after slippageNet R
2023-01-09 00:00 UTC17,136.3919,920.04+12.573
Chronological selection: 2023-01-09 00:00 UTC, +12.573 net R. This large winning example is the first completed later trade, not a representative or typical return. All examples already belong to the totals.
14

The first opposite-sign example is intentionally conditional

The third example is the first later primary trade with a strictly opposite nonzero net-profit sign to the first later trade. It enters at 2023-01-16 20:00 UTC and records −1.000 net R. Zero is neither sign. This outcome-conditioned selection explains the mechanism and is not representative evidence. All examples already belong to the account totals. An intrabar stop identifies only its H4 interval, not an exact tick timestamp or demonstrated execution; an opening or scheduled-close event uses its stated model time.

First later primary trade with the opposite net result

First later primary trade with the opposite net result17,37018,58619,80321,01922,235USDT per BTCEMA20Upper bandLower bandADX14 · strength, 0–10002550100SLSEX2023-01-14 00:002023-01-16 16:002023-01-19 04:00

Select a candle using the chart, slider or arrow keys. Prices use two decimals and ADX three; rounded values never determine decisions. Opening and signal availability are separate.

Opening · UTC
2023-01-14 00:00 UTC
Available · UTC
2023-01-14 04:00 UTC
Open
19,930.01
High
21,258.00
Low
19,888.05
Close
20,967.23
EMA20 · USDT per BTC
18,717.39
Channel ATR10 · USDT per BTC
438.41
Upper band · USDT per BTC
19,594.21
Lower band · USDT per BTC
17,840.56
ADX14 · strength, 0–100
61.910
Protective ATR14 · USDT per BTC
371.11
SL · fixed protective stop
20,549.19
Trade examples · modeled fills and net R
Opening · UTCEntry fill after slippageExit fill after slippageNet R
2023-01-16 20:00 UTC21,317.9420,538.91−1.000
Outcome-conditioned selection: 2023-01-16 20:00 UTC, −1.000 net R. An intrabar X identifies the H4 exit interval; it is not an exact tick time or actual fill.
15

Restarted accounts, yearly returns and sampled exposure

Each account window includes its start and excludes its end. Cash and positions restart, while the same valid pre-period indicator history is retained. A signal completed exactly at the start boundary may enter the newly flat account at that opening; no order is carried from another account. Annual returns compare consecutive year-end liquidation equities and compound rather than add. H4-close equity values deduct modeled exit fee and slippage for open holdings. Position share counts observed intervals with holding duration after opening decisions, so a position closed exactly at a new opening does not occupy that interval; it is not exact wall-clock exposure or continuous maximum risk.

V = B_free + q × C_t × (1−s)(1−f)

Year-by-year results of the continuous accounts

Year-by-year results of the continuous accounts202020212022202320242025Keltner + ADX14≥25Keltner without ADX gate
Year-by-year results of the continuous accounts
YearKeltner + ADX14≥25Keltner without ADX gate
2020−1.03+12.21
2021+0.79−0.09
2022−2.44−2.05
2023+26.71+29.52
2024−5.52+8.11
2025+0.41+0.20
Annual returns compare consecutive year-end liquidation equities and compound. Separately restarted early and later accounts use their own initial cash and position paths.
16

Reproduce the fixed variant and keep its limits

Downloads contain the frozen protocol with selected source hashes, all H4 indicators, every account ledger and standalone Python replay and independent-checker files. The replay uses Decimal40 and the separate reconstruction Decimal50; no display rounding or sign tolerance determines a trade. Realized per-unit net profit is evaluated before multiplication by quantity, preserving mathematically zero trades without a classification epsilon. Obtain the 79 selected original ZIPs and matching checksums. One venue, a USDT quote, fixed cost assumptions and hypothetical fractional fills limit inference. The historical gain and positive stress result do not demonstrate future profitability or a benefit from ADX.

Run the replay and independent checker with the frozen protocol and 79 selected original ZIPs plus matching checksum files. Both scripts use Python's standard library and require no repository modules.

python3 btc-keltner-replay.py --protocol btc-keltner-protocol.json --raw-dir raw4h --output replay.json
python3 btc-keltner-independent-check.py --protocol btc-keltner-protocol.json --evidence btc-keltner-evidence.json --raw-dir raw4h

Frequently asked questions

Was the Keltner-plus-ADX account profitable in this historical model?

The full account returns +16.98% after baseline costs and +5.67% under higher costs, but its independently restarted early account returns −2.68%. The no-ADX control earns more over the full and later periods. These are retrospective hypothetical outcomes, not promised live returns.

Does a high ADX mean that Bitcoin must rise?

No. ADX measures trend strength without direction. A falling market can also have a high ADX. In this study the completed upper-band crossing determines the long direction; ADX≥25 is only the additional entry gate.

Why are ATR10 and ATR14 both present?

ATR10 sets the width of the Keltner channel. A separately calculated ATR14 fixes the protective stop at entry. They have different periods and jobs; neither is a trailing stop in this variant.

Does the control remove the shared warm-up?

No. Both accounts wait for 200 consecutive canonical observations and compute the same indicators. The control removes only ADX≥25 at entry. Giving it a shorter warm-up would change the data gate as well as the filter.

How precise are the signal, entry and stop times?

Candle labels are UTC H4 openings; signals become available at the scheduled close four hours later. E is the exact observed opening reference in the model, while a stop inside a candle identifies only an H4 interval. Opening and scheduled-close exits use their declared model times. Slippage-adjusted fills remain distinct from chart references.

Does one-percent planned risk guarantee a one-percent maximum loss?

No. Sizing uses the fixed modeled stop including the scenario's nominal fees and slippage. Gaps, missing paths, liquidity and actual order execution can change the loss. H4-close drawdown is sampled and cannot measure every adverse move inside a candle.

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

A positive cumulative historical result and a positive higher-cost scenario do not establish live execution or future profit. The fixed ADX gate underperforms its stated control on this history; the early account's return is negative. Known data, source defects, hypothetical costs and sampled drawdown remain explicit limits.