Central Command

EMA Crossover With ADX, Long Only

A built-in strategy on Central Command, tested on BloFin history. Held up in testing. 4H candles, long only, category Trend Following.

Rules

Entry. On a closed 4H candle, go long when EMA(20) crosses above EMA(50) and ADX(14) is above 25. Long only.

Managing the trade. Close when EMA(20) crosses back below EMA(50).

Stop and target. Stop 2.5 x ATR(14) from the entry, never moved. No fixed target: the opposite cross exits.

Exact rules


A long-only sibling of EMA Crossover With ADX (ema-adx-trend), from the v3 rule in scripts/library-research/catalog-extra/v3-siblings.ts: in-sample (1 Oct 2023 to 31 Jul 2025), at its chosen setting, EMA Crossover With ADX's longs made +120% and its shorts -13.3% (summed trade results as a share of the $10,000 start). The rules are the parent's with the short side removed; its own setting was chosen in-sample like every other.

[EXACT RULES]
timeframe: 4H
direction: long only
long entry: CROSS_UP(EMA(20), EMA(50))
long entry: ADX(14) > 25
long exit: CROSS_DOWN(EMA(20), EMA(50))
stop: 2.5 ATR(14)
take profit: none

How it tested

Settings were chosen on 2023-10-01 to 2025-08-01, then judged once on 2025-08-01 to 2026-10-19, which was not looked at while choosing. Figures are after fees, on BTC, ETH, SOL, XRP, DOGE, BNB.

Trades Return Profit factor Worst drop Win rate
Chosen on 45 +150.5% 4.04 18.3% 28.9%
Judged on 31 +6.3% 1.35 20.6% 25.8%
Whole period 76 +166.3% 2.75 30.3% 27.6%

Holding Bitcoin over the same judged period returned -29.0%.

A backtest is not a result. Past results, paper or live, do not guarantee future returns.

Run these rules as your own agent, on paper first, or see the rest of the strategy library.