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

Solana H4 DeMarker strategy: EMA200, costs and historical results

The DeMarker14 + EMA200 account returns −3.40% over 2021–2025 after baseline costs, with 12.97% maximum H4-close drawdown. Without EMA200 it returns −9.80%. The filtered later account returns −7.44%: these rules do not produce a historical profit after costs.

In simple terms

We buy Solana after DeMarker14 recovers above 0.30, remains below 0.70 and the completed H4 close is above EMA200. Entry is at the next scheduled opening. A fixed ATR stop, DeMarker exit or 30-H4 deadline closes the position. The account is hypothetical and cash-funded.

On this page
01

A recovery rule fixed before calculation

Does a DeMarker recovery survive modeled costs, and what changes with EMA200? We fixed thresholds, periods and execution before calculating accounts. The control removes only the entry trend condition. There is no parameter search; the already familiar history makes this retrospective research.

02

Original observations and the chosen history

We verify 64 official Binance SOLUSDT H4 archives with 11,688 observations, starting in September 2020 for warm-up. The account study covers 2021–2025. Missing scheduled candles: 0; rows with nonstandard source-close timestamps: 6. We retain and disclose those rows. A missing or noncanonical interval resets indicator history; it never becomes an invented candle.

03

DeMarker uses changes in highs and lows

DeMax=max(current high−previous high,0); DeMin=max(previous low−current low,0). U14 and D14 sum their latest 14 transitions. DeM=U14/(U14+D14), equivalent to the ratio of 14-period simple averages. The first reading needs 15 candles. Both changes can be positive on an outside candle; an inside candle contributes neither. The scale is 0–1, with thresholds 0.30/0.70. A zero denominator makes DeM unavailable, not 0.50.

DeMax_t = max(H_t − H_prev, 0); DeMin_t = max(L_prev − L_t, 0)
U14_t = Σ_14 DeMax; D14_t = Σ_14 DeMin
DeM14_t = U14_t / (U14_t + D14_t)

Symbols: C/H/L are close/high/low; TR is true range; N is the EMA period; prev is the previous canonical bar. O is the next raw opening, E/X modeled fills and X_ref the raw exit reference. B is pre-entry cash, B_free free cash, q SOL quantity, f/s per-side fee/slippage, L_unit planned unit loss, P_net net profit, R_net net R and V liquidation equity.

04

EMA200, ATR14 and valid consecutive readings

EMA200 starts with the mean of 200 canonical closes, then uses weight 2/201. Wilder ATR14 starts with 14 true ranges, then weight 1/14; the first range after reset is H−L. Entries in both accounts need 200 current-segment observations, positive ATR and valid current and immediately previous DeM. The prior reading need not itself meet the 200-observation gate. Unavailable DeM is never bridged; a zero denominator alone does not reset EMA or ATR.

EMA200_t = EMA200_prev + 2/201 × (C_t − EMA200_prev)
ATR14_t = (13 × ATR14_prev + TR_t) / 14

05

Recovery into the entry region

When flat, require previous DeM≤0.30, strictly 0.30<current DeM<0.70 and close>EMA200. A jump directly to 0.70 or higher fails. Decisions compare exact sums by cross-multiplication, without display rounding. Buy at the immediately next scheduled opening plus slippage; cancel a missing opening or one outside the account period. Future close metadata cannot censor an observed opening.

DeM14_prev ≤ 0.30 < DeM14_t < 0.70; C_t > EMA200_t

06

Fixed protection and opening priorities

Fix SL at modeled entry minus 2×signal ATR14, requiring 0<SL<the raw opening. There is no target, trailing, leverage or adding. At an opening, check a stop gap first, a queued DeMarker exit second and an overdue deadline third. Only then can the later low trigger an intrabar stop.

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

07

DeMarker exit level and a scheduled deadline

A canonical completed DeM≥0.70 queues the next opening exit. This is a level, not a new crossing; it needs defined DeM, not EMA200, ATR or entry eligibility. Queued exits survive missing observations and resets. Otherwise exit at the 30th scheduled H4 close or period end, with stop priority. An unavailable deadline close defers to the first observed opening. Noncanonical liquidation closes are flagged proxies.

DeM14_t ≥ 0.70 → X_ref = O_next_observed

08

Cash-funded size and the meaning of net R

Each account starts with 10,000 USDT and no leverage. Planned loss at the nominal stop, including modeled fees and slippage, is limited to 1% of pre-entry cash. Available cash can reduce quantity further. Net R divides realized net P&L by that entry's planned monetary loss. Fractional quantities are allowed; historical lot and minimum-notional rules are not reconstructed. An opening gap can exceed the planned loss.

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

Rebuild the account for every cost scenario

Baseline costs are 0.10% fee plus 0.05% adverse slippage per side; higher costs use 0.20% and 0.10%. The full primary results are +0.62% without costs, −3.40% at baseline and −6.95% at higher costs. All three contain 91 trades here, but fills, stops, quantities and subsequent cash are recalculated. These are fixed assumptions, not current exchange quotes.

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

The predefined cost scenarios

The predefined cost scenariosDeMarker14 + EMA200 ·zero costs+0.62%DeMarker14 + EMA200−3.40%DeMarker14 + EMA200 ·higher costs−6.95%
Costs, turnover and full-account results
Account or scenarioNet return %Fees · USDTEntry slippage · USDTExit slippage · USDTTraded notional / initial cash
DeMarker14 + EMA200 · zero costs+0.620.000.000.0032.70
DeMarker14 + EMA200−3.40305.9476.4576.5130.59
DeMarker14 + EMA200 · higher costs−6.95574.90143.64143.8128.75
Complete reruns change entry fills, fixed stops, quantities and later cash. The three scenarios can contain different trades; this is not a fixed-fee subtraction.
10

A loss after costs despite winning examples

The primary account returns −3.40% over 91 trades: 37 positive and 54 negative. Profit factor is 0.93, sampled drawdown 12.97% and observed-interval occupancy 9.64%. Separately restarted early and later accounts return +4.36% and −7.44%. Fully invested buy-and-hold returns +8,136.78% with 96.60% sampled drawdown and a different exposure profile. All returns are cumulative.

The continuous accounts after costs

The continuous accounts after costs8,6459,32410,00410,68311,362DeMarker14 + EMA200DeMarker14 without EMA200202120232026
Each account starts with 10,000 USDT. Every H4-close mark estimates the value after selling costs; these paths do not show intrabar risk.
11

The trend filter has mixed effects

Without the entry EMA condition, the full account returns −9.80% with 19.00% drawdown, versus −3.40% and 12.97% with it. However, later results are −7.44% with the filter and −5.48% without; drawdowns are 11.00% and 10.25%. EMA200 reduces the full-period loss but worsens both later measures. It does not make the full strategy profitable or establish a consistent advantage.

Independent historical account comparison
Account or scenarioNet return %H4-close drawdown %TradesProfit factorObserved-interval occupancy %
DeMarker14 + EMA200 · Continuous 2021–2025−3.4012.97910.939.64
DeMarker14 without EMA200 · Continuous 2021–2025−9.8019.002450.9125.24
DeMarker14 + EMA200 · Independent 2021–2022+4.366.55181.565.18
DeMarker14 without EMA200 · Independent 2021–2022−4.4813.81830.8923.52
DeMarker14 + EMA200 · Independent 2023–2025−7.4411.00730.8012.61
DeMarker14 without EMA200 · Independent 2023–2025−5.4810.251620.9226.32
Buy and hold · base costs · Continuous 2021–2025+8,136.7896.60——100.00
12

Source-quality flags remain part of the evidence

Primary trades crossing missing intervals: 0; exposed to noncanonical rows: 1; delayed DeMarker exits: 0; partial-close liquidation proxies: 0. The source has no missing H4 intervals but does have nonstandard close metadata. Excluding flagged trades at original quantities is a retrospective ledger diagnostic, not an executable filter or a rebuilt account.

Data-quality and execution diagnostics
Account or scenarioTrades
Trades crossing missing H4 intervals0
Trades exposed to noncanonical rows1
Delayed DeMarker exits0
Partial-close liquidation proxies0
13

Chronological winners within a losing account

The first completed early trade enters at 2021-01-29 16:00 UTC and records +1.526 net R; the first later trade enters at 2023-01-06 20:00 UTC and records +1.014 net R. Both win, despite the full-account loss. Chronological selection does not make them typical. Charts show real OHLC, EMA200, DeM on a 0–1 scale and the fixed stop against elapsed UTC time. S marks the signal candle; E/X are raw price references, with slippage modeled separately.

First completed early trade

First completed early trade2.473.113.764.415.06USDT per SOLEMA200DeMarker14 · 0–10.000.300.701.00SLSEX2021-01-26 20:002021-01-29 08:002021-01-31 16:00

Select a candle on the chart, with the slider or arrow keys. Prices use two decimals and DeMarker three; decisions use unrounded values. Opening time and signal availability are separate.

Opening · UTC
2021-01-26 20:00 UTC
Available · UTC
2021-01-27 00:00 UTC
Open
4.02
High
4.10
Low
3.98
Close
4.04
DeMarker14 · 0–1
0.769
EMA200 · USDT per SOL
2.72
ATR14 · USDT per SOL
0.22
SL · fixed stop
3.50
Trade examples · raw references and modeled fills
Opening · UTCEntry fill after slippageExit fill after slippageNet R
2021-01-29 16:00 UTC3.824.32+1.526
Chronological selection: 2021-01-29 16:00 UTC, +1.526 net R. Real H4 candles, EMA200 and DeMarker14 on a 0–1 scale. S: signal; E/X: raw references; SL: fixed stop. Modeled fills separately include slippage.

First completed later trade

First completed later trade11.7613.3514.9416.5318.12USDT per SOLEMA200DeMarker14 · 0–10.000.300.701.00SLSEX2023-01-04 00:002023-01-06 20:002023-01-09 12:00

Select a candle on the chart, with the slider or arrow keys. Prices use two decimals and DeMarker three; decisions use unrounded values. Opening time and signal availability are separate.

Opening · UTC
2023-01-04 00:00 UTC
Available · UTC
2023-01-04 04:00 UTC
Open
13.37
High
14.05
Low
13.23
Close
13.57
DeMarker14 · 0–1
0.944
EMA200 · USDT per SOL
12.60
ATR14 · USDT per SOL
0.59
SL · fixed stop
12.37
Trade examples · raw references and modeled fills
Opening · UTCEntry fill after slippageExit fill after slippageNet R
2023-01-06 20:00 UTC13.3814.45+1.014
Chronological selection: 2023-01-06 20:00 UTC, +1.014 net R. Entry and exit markers show reference prices; adverse slippage is included separately in the account ledger.
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-01-24 08:00 UTC and records −1.000 net R. Zero is not treated as an opposite sign. This outcome-conditioned selection is educational, not representative evidence. All examples already belong to the account totals. An H4 stop marker identifies an interval, not an exact tick time or an actual fill.

First later trade with the opposite net result

First later trade with the opposite net result16.0218.8221.6124.4027.19USDT per SOLEMA200DeMarker14 · 0–10.000.300.701.00SLSEX2023-01-21 12:002023-01-23 12:002023-01-25 08:00

Select a candle on the chart, with the slider or arrow keys. Prices use two decimals and DeMarker three; decisions use unrounded values. Opening time and signal availability are separate.

Opening · UTC
2023-01-21 12:00 UTC
Available · UTC
2023-01-21 16:00 UTC
Open
25.20
High
25.65
Low
25.04
Close
25.23
DeMarker14 · 0–1
0.790
EMA200 · USDT per SOL
17.10
ATR14 · USDT per SOL
1.16
SL · fixed stop
23.01
Trade examples · raw references and modeled fills
Opening · UTCEntry fill after slippageExit fill after slippageNet R
2023-01-24 08:00 UTC24.7923.00−1.000
Outcome-conditioned selection: 2023-01-24 08:00 UTC, −1.000 net R. This example explains the rule and is not a representative sample.
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 accounts20212022202320242025DeMarker14 + EMA200DeMarker14 without EMA200
Year-by-year results of the continuous accounts
YearDeMarker14 + EMA200DeMarker14 without EMA200
2021+7.52+6.50
2022−2.93−10.31
2023−4.42−4.16
2024+3.12+5.48
2025−6.09−6.59
Returns compare consecutive year-end liquidation equity values. They compound; the separately restarted early and later accounts use different cash paths.
16

Reproduce the fixed study

Downloads contain the protocol, complete observations, eight account ledgers, three buy-and-hold paths and standalone replay and checker files. Obtain all 64 original ZIPs and their checksums. Decimal40 replay is checked by a separate Decimal50 reconstruction. Rules were not changed after results. One venue, assumed costs, fractional quantities and known history limit inference about execution and future performance.

Run the replay with the protocol and original monthly ZIPs with their checksum files. The independent checker can also compare the retained observations with those original ZIPs.

python3 sol-demarker-replay.py --protocol sol-demarker-protocol.json --raw-dir raw4h --output replay.json
python3 sol-demarker-independent-check.py --protocol sol-demarker-protocol.json --evidence sol-demarker-evidence.json --raw-dir raw4h

Frequently asked questions

Was this DeMarker strategy profitable after costs?

No. The full account returns −3.40% and the separately restarted later account −7.44%. Removing costs gives +0.62%; higher costs give −6.95%. These fixed historical assumptions neither establish future profitability nor rule it out for every possible DeMarker strategy.

Does DeMarker below 0.30 trigger an immediate buy?

No. Wait for recovery from a previous reading at or below 0.30 to a current reading strictly between 0.30 and 0.70, with close above EMA200. This study uses a 0–1 scale. Do not mix 0.30/0.70 with the 30/70 thresholds of a 0–100 display.

What does the control change?

Only close>EMA200 at entry is removed. Both accounts retain the 200-observation gate, DeMarker recovery and exit conditions, costs, position sizing, fixed stop and deadline. The previous DeMarker reading must be valid but need not itself meet the 200-observation entry gate.

Is 2023–2025 an unseen test?

No. The history was already available and used in prior research. Restarting cash checks retrospective consistency; indicators retain earlier valid history. This does not turn familiar past data into prospective validation.

How should I read the chart times and trade markers?

All candle times are H4 openings in UTC; close-based signals become available four hours later. S shows the signal candle, E the raw entry reference and X the exit reference interval. The account separately models adverse slippage. A stop touch is located within an H4 interval, not at an exact tick timestamp.

Does a 1% risk size guarantee the maximum loss?

No. The budget uses the nominal stop and the scenario's assumed entry and exit costs. Gaps, missing prices, liquidity and actual execution can produce a different loss. Reported drawdown is sampled at H4 closes; it is not a continuous worst-case risk limit.

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 historical venue, a stablecoin quote, assumed costs and fractional quantities do not establish actual fills or future returns. Missing intervals and noncanonical source rows remain limitations. There is no prospective unseen-test claim.