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

Bitcoin H4 Alligator and Fractals strategy: confirmed signals after costs

The Alligator-filtered account returns +57.62% over 2020–2025 after baseline costs, with 7.95% maximum H4-close drawdown. The control without the Alligator entry gate returns +2.95% with 22.24% sampled drawdown. The independently restarted early and later filtered accounts return +16.08% and +35.79%. These cumulative historical model results do not establish future performance.

In simple terms

We buy Bitcoin after a completed H4 close crosses above an upper-fractal level that was already confirmed by that candle’s opening. The main variant also requires bullish Alligator alignment and stated price conditions. Entry uses the next scheduled opening, a fixed ATR14 stop and defined exit priorities. This is a cash-funded spot strategy study, not a guide to a guaranteed signal.

On this page
01

One entry filter and a reproducible question

Does Alligator improve a close-confirmed fractal breakout after costs? We fixed the 13/8/5 smoothed averages, their 8/5/3 chart shifts, a strict five-candle upper fractal and one control before the first calculation. The control removes only the collective Alligator entry gate and keeps the same exit. This mechanical close-based adaptation is not the complete Bill Williams trading system or an intrabar pending-stop method. We did not optimize parameters; the historical sample was already familiar.

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

Alligator uses smoothed median prices and positive chart shifts

For each completed candle, median price is (high+low)/2. Each SMMA starts with the mean of its first N medians and then updates with weight 1/N. Jaw uses N=13 and shift 8; Teeth N=8 and shift 5; Lips N=5 and shift 3. At chart position t, the visible values therefore come from raw SMMA at t−8, t−5 and t−3. Positive plotting shifts move an earlier calculation forward; they never authorize future prices. Jaw first appears at zero-based index 20, Teeth at 12 and Lips at 7.

M_t = (H_t + L_t) / 2
SMMA_N,t = [(N−1)×SMMA_N,prev + M_t] / N
Jaw_t = SMMA13,t−8; Teeth_t = SMMA8,t−5; Lips_t = SMMA5,t−3

Symbols: M is median price (H+L)/2; H/L/C are high, low and close. SMMA_N is the seeded smoothed average; Jaw/Teeth/Lips are its visible shifted values. F_t is the fractal level already known at candle t opening; c is the center candle. TR is true range and ATR14 its Wilder average. O is the next raw opening; E/X are modeled fills and X_ref the raw exit reference. B/B_free are cash before/after purchase, q is BTC quantity, f/s per-side fee/slippage, SL the fixed stop, L_unit planned unit loss, P_net net profit, R_net net R and V liquidation equity.

04

A fractal center is not its confirmation time

Use a strict five-candle peak: the middle high must exceed the two highs on each side. Ties reject the candidate; extended plateau variants are outside this study. A center candle opening at c becomes confirmed only after the second right-hand candle closes, at c+12 hours. Its level is locked for signals starting with the following candle opening. The current candle cannot use a fractal newly confirmed by its own close. The reader distinguishes the center opening from confirmation availability.

H_c > max(H_c−2,H_c−1,H_c+1,H_c+2)
t_confirm = t_open,c + 3×14 400 s

Five candles, two right-hand closes, then availability

Five candles, two right-hand closes, then availability7,1787,2417,3047,3667,4292020-01-03 08:002020-01-03 12:002020-01-03 16:002020-01-03 20:002020-01-04 00:00FCenter candleConfirmation available2020-01-04 04:00 UTC
The first early example’s fractal center opens at 2020-01-03 16:00 UTC; confirmation is available at 2020-01-04 04:00 UTC, after the two right-hand candles have closed. The center marker is not an entry or an earlier known signal.
05

Cross the same level that was known at the opening

All variants require 21 consecutive canonical observations, defined visible Jaw/Teeth/Lips, positive ATR14 and an active upper fractal confirmed by the prior close. Require the previous close at or below that locked level and the current close strictly above the same level. The primary account additionally needs Lips>Teeth>Jaw, current close>Lips and the fractal level>Teeth. The control omits these three entry conditions only. Keep the latest confirmed level until replacement or reset; repeat fresh crossings are allowed. A new fractal is not a license to compare two closes against different levels.

C_prev ≤ F_t < C_t
Lips_t > Teeth_t > Jaw_t; C_t > Lips_t; F_t > Teeth_t

06

The next scheduled opening and one fixed stop

When flat, schedule an entry at the immediately next scheduled H4 opening. Cancel the entry if that opening is missing or outside the account period; a later quote does not rescue it. Modeled fill E is the raw opening plus adverse slippage. Fix SL=E−2×signal ATR14 and reject unless 0<SL<the raw opening, with positive cash and quantity. Later close-time metadata cannot censor an already observed opening. Hold one cash-funded position, without a target, trailing stop, leverage or adding.

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

07

Lips/Teeth exits and explicit event priorities

When visible Lips and Teeth are defined on a completed canonical candle and Lips≤Teeth, we schedule an exit at the next observed opening. This is a level condition, not necessarily a new crossing. It needs neither Jaw, a known fractal, positive ATR nor the entry-only 21-observation gate. A queued exit survives gaps and indicator resets. At an observed opening, a stop gap has first priority, then a queued Lips/Teeth exit, then an overdue time limit. Only afterward can the current low trigger the fixed stop. Otherwise exit at the 30th scheduled H4 close or period end, with the stop checked first.

Lips_t ≤ Teeth_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

Cost changes require complete reruns

Baseline assumptions are 0.10% fee and 0.05% adverse slippage on each side; higher costs use 0.20% and 0.10%. Full-period returns are +102.10% with zero costs, +57.62% with baseline costs and +28.28% with higher costs. Trade counts are 174, 174 and 175, respectively. Reruns change fills, fixed stops, quantities, holding paths and later cash, so subtracting fees from unchanged trades is not equivalent. These fixed assumptions are not current venue tariffs; liquidity and spread 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 scenariosAlligator + Fractals ·zero costs+102.10%Fractal breakout +Alligator entry gate+57.62%Alligator + Fractals ·higher costs+28.28%
Costs, turnover and full-account results
Account or scenarioNet return %Fees · USDTEntry slippage · USDTExit slippage · USDTTraded notional / initial cash
Alligator + Fractals · zero costs+102.100.000.000.00190.57
Fractal breakout + Alligator entry gate+57.621,499.67372.92376.92149.97
Alligator + Fractals · higher costs+28.282,474.49615.36621.90123.72
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

The filtered historical account has a positive cumulative result

The continuous primary account returns +57.62% across 174 trades: 65 wins and 109 losses. Profit factor is 1.50, sampled H4-close drawdown 7.95% and observed-interval position share 22.64%. Independently restarted 2020–2022 and 2023–2025 accounts return +16.08% and +35.79%. These are cumulative period returns, not annual yields. Fully invested buy-and-hold returns +1,114.49% with 77.04% sampled drawdown and very different market exposure. The paths are not equal-risk investments.

Continuous accounts after baseline costs

Continuous accounts after baseline costs8,83610,99713,15815,31917,480Fractal breakout + Alligator entry gateFractal breakout without the entry 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 entry gate improves this particular comparison

Removing only the Alligator entry gate gives +2.95% full-period return and 22.24% sampled drawdown. In the separately restarted later period, the control returns +5.69% with 19.44% drawdown, versus +35.79% and 5.55% with the gate. On this history, the fixed filter reduces trades and exposure while improving these return and drawdown comparisons. Both variants still use the Lips/Teeth exit; the control is not an entirely Alligator-free system. One familiar sample and one fixed comparison do not establish a universal indicator advantage.

Independent historical account comparison
Account or scenarioNet return %H4-close drawdown %TradesProfit factorObserved intervals with position %
Fractal breakout + Alligator entry gate · Continuous 2020–2025+57.627.951741.5022.64
Fractal breakout without the entry gate · Continuous 2020–2025+2.9522.245011.0231.61
Fractal breakout + Alligator entry gate · Independent 2020–2022+16.087.59871.3322.86
Fractal breakout without the entry gate · Independent 2020–2022−2.5922.172460.9731.92
Fractal breakout + Alligator entry gate · Independent 2023–2025+35.795.55871.6322.41
Fractal breakout without the entry gate · Independent 2023–2025+5.6919.442551.0531.30
Buy and hold · base costs · Continuous 2020–2025+1,114.4977.04——100.00
12

Keep source defects and affected trades visible

The primary full-period ledger has 0 trades crossing missing intervals and 3 touching noncanonical source rows. There are 0 delayed indicator exits and 0 liquidation proxies using a noncanonical close. The control has 2 trades touching noncanonical rows. A position keeps its original stop through a reset. Excluding affected trades at their recorded quantities is a post-event diagnostic, not an executable avoidance rule or a recomputed return. A zero count in one category does not remove the source limitations.

Data-quality and execution diagnostics
Account or scenarioTrades
Trades crossing missing H4 intervals0
Trades touching noncanonical rows3
Delayed Lips/Teeth exits0
Noncanonical-close liquidation proxies0
13

Chronological examples, known fractals and real candles

The first completed early primary trade enters at 2020-01-05 04:00 UTC and records +1.510 net R; the first completed later trade enters at 2023-01-04 04:00 UTC and records +0.167 net R. Both are profitable here, but chronological selection does not make them typical. Charts show actual OHLC, the three displaced Alligator lines, each candle’s already-known fractal level and the fixed stop, with real elapsed UTC spacing. S is the completed signal candle; E and X are raw price references. Modeled fills include slippage separately. Historical context on the full chart is not a bar-by-bar forward simulation.

First completed early primary trade

First completed early primary trade6,6817,1727,6638,1548,645USDT per BTCJaw 13 · shift 8Teeth 8 · shift 5Lips 5 · shift 3F · level known at openingSLSEX2020-01-02 08:002020-01-06 12:002020-01-10 12:00

Select a candle using the chart, slider or arrow keys. Prices use two decimals; rounded values do not select trades. H4 availability and the active fractal’s center/confirmation times are separate.

Opening · UTC
2020-01-02 08:00 UTC
Available · UTC
2020-01-02 12:00 UTC
Open
7,110.98
High
7,180.00
Low
7,109.11
Close
7,139.79
Jaw · SMMA13 shifted 8
7,268.46
Teeth · SMMA8 shifted 5
7,243.25
Lips · SMMA5 shifted 3
7,224.11
Protective ATR14 · USDT per BTC
70.68
SL · fixed protective stop
7,286.84
F · already-confirmed upper-fractal level
7,255.00
Fractal center opening · UTC
2020-01-01 12:00 UTC
Fractal confirmation available · UTC
2020-01-02 00:00 UTC
Trade examples · modeled fills and net R
Opening · UTCEntry fill after slippageExit fill after slippageNet R
2020-01-05 04:00 UTC7,479.747,814.11+1.510
Chronological selection: 2020-01-05 04:00 UTC, +1.510 net R. F is the level known at each candle’s opening. Alligator uses visible displaced values; S is the signal, E/X raw price references and SL the fixed stop.

First completed later primary trade

First completed later primary trade16,44116,60716,77316,93917,105USDT per BTCJaw 13 · shift 8Teeth 8 · shift 5Lips 5 · shift 3F · level known at openingSLSEX2023-01-01 08:002023-01-04 12:002023-01-07 16:00

Select a candle using the chart, slider or arrow keys. Prices use two decimals; rounded values do not select trades. H4 availability and the active fractal’s center/confirmation times are separate.

Opening · UTC
2023-01-01 08:00 UTC
Available · UTC
2023-01-01 12:00 UTC
Open
16,525.70
High
16,557.00
Low
16,505.20
Close
16,556.66
Jaw · SMMA13 shifted 8
16,625.90
Teeth · SMMA8 shifted 5
16,581.20
Lips · SMMA5 shifted 3
16,562.81
Protective ATR14 · USDT per BTC
87.48
SL · fixed protective stop
16,677.00
F · already-confirmed upper-fractal level
16,644.09
Fractal center opening · UTC
2022-12-31 12:00 UTC
Fractal confirmation available · UTC
2023-01-01 00:00 UTC
Trade examples · modeled fills and net R
Opening · UTCEntry fill after slippageExit fill after slippageNet R
2023-01-04 04:00 UTC16,871.0416,944.25+0.167
Chronological selection: 2023-01-04 04:00 UTC, +0.167 net R. A positive first later trade is not a typical-return estimate. Every example is already included in account 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-27 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 result22,10122,61623,13023,64524,160USDT per BTCJaw 13 · shift 8Teeth 8 · shift 5Lips 5 · shift 3F · level known at openingSLSEX2023-01-25 00:002023-01-28 04:002023-01-31 08:00

Select a candle using the chart, slider or arrow keys. Prices use two decimals; rounded values do not select trades. H4 availability and the active fractal’s center/confirmation times are separate.

Opening · UTC
2023-01-25 00:00 UTC
Available · UTC
2023-01-25 04:00 UTC
Open
22,631.94
High
22,715.06
Low
22,300.00
Close
22,643.61
Jaw · SMMA13 shifted 8
22,354.95
Teeth · SMMA8 shifted 5
22,761.60
Lips · SMMA5 shifted 3
22,892.60
Protective ATR14 · USDT per BTC
368.28
SL · fixed protective stop
22,571.28
F · already-confirmed upper-fractal level
23,162.20
Fractal center opening · UTC
2023-01-24 04:00 UTC
Fractal confirmation available · UTC
2023-01-24 16:00 UTC
Trade examples · modeled fills and net R
Opening · UTCEntry fill after slippageExit fill after slippageNet R
2023-01-27 20:00 UTC23,264.6922,560.00−1.000
Outcome-conditioned selection: 2023-01-27 20:00 UTC, −1.000 net R. The first opposite-sign later trade illustrates a loss; an intrabar X marks its H4 interval, not an exact tick time.
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 accounts202020212022202320242025Fractal breakout + Alligator entry gateFractal breakout without the entry gate
Year-by-year results of the continuous accounts
YearFractal breakout + Alligator entry gateFractal breakout without the entry gate
2020+13.71+14.92
2021+6.47−3.57
2022−4.12−12.10
2023+23.28+18.33
2024+9.17+2.00
2025+0.89−12.43
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 rules and retain their limits

Downloads include the frozen protocol and source hashes, all observations and indicators, every account ledger, and standalone Python replay and independent-checker files. The replay uses Decimal40; the separate reconstruction uses Decimal50 and a scheduled opening/range/close clock. Obtain all 79 selected original ZIPs and matching checksum files. The gain after modeled costs is a historical result of this exact adaptation. One venue, USDT denomination, source defects, fractional hypothetical execution and sampled drawdown limit inference; the result is not proof of future profitability.

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-alligator-replay.py --protocol btc-alligator-protocol.json --raw-dir raw4h --output replay.json
python3 btc-alligator-independent-check.py --protocol btc-alligator-protocol.json --evidence btc-alligator-evidence.json --raw-dir raw4h

Frequently asked questions

Was this Alligator/Fractals account profitable in the historical model?

Yes. The full account returns +57.62% after baseline costs and +28.28% under higher costs. Independently restarted early and later accounts return +16.08% and +35.79%. The control without the entry gate returns +2.95% over the full period. These are retrospective hypothetical results, not promised live returns.

Do the Alligator shifts use future prices?

No. A positive chart shift places an earlier SMMA value at a later chart position. At t, this study reads SMMA13 at t−8, SMMA8 at t−5 and SMMA5 at t−3. Reading t+8, t+5 or t+3 would introduce information unavailable at the decision time.

When is the upper fractal actually usable?

Only after two candles to the right of the center have closed. The center’s opening time and the confirmation timestamp are different. A new level confirmed at the current close is usable from the following opening; it cannot create that same candle’s breakout signal. If any of the four comparison highs equals the center high, the strict five-candle fractal candidate is rejected.

What does the no-entry-filter control remove?

Only Lips>Teeth>Jaw, close>Lips and the known fractal level>Teeth at entry. It keeps the same confirmed level, 21-observation eligibility, ATR stop, Lips≤Teeth exit, time limit, sizing and costs. Replacing the exit too would test a different question.

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

The positive historical result and higher-cost scenario are hypothetical. This one fixed entry gate improves its stated control on familiar history; it does not establish a general advantage or future profitability. Delayed fractal confirmation, source defects, modeled execution, unequal exposure and H4-close sampled drawdown remain explicit limits.