# MACD Trend

A built-in strategy on Central Command, tested on BloFin history. **Thin edge in testing.** 4H candles, long and short, category Trend Following.

## Rules

**Entry.** On a closed 4H candle, go long when MACD(12, 26, 9) crosses above its signal line and the close is above EMA(200). Go short on a cross below the signal line with the close below EMA(200).

**Managing the trade.** Close on the opposite MACD cross.

**Stop and target.** Stop 2.5 x ATR(14) from the entry, never moved. No fixed target.

## Exact rules

```text

timeframe: 4H
long entry: CROSS_UP(MACD(12, 26, 9), MACD_SIGNAL(12, 26, 9))
long entry: close > EMA(200)
short entry: CROSS_DOWN(MACD(12, 26, 9), MACD_SIGNAL(12, 26, 9))
short entry: close < EMA(200)
long exit: CROSS_DOWN(MACD(12, 26, 9), MACD_SIGNAL(12, 26, 9))
short exit: CROSS_UP(MACD(12, 26, 9), MACD_SIGNAL(12, 26, 9))
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 | 668 | +90.5% | 1.31 | 15.6% | 29.8% |
| Judged on | 422 | +7.6% | 1.05 | 30.8% | 32.2% |
| Whole period | 1090 | +104.9% | 1.18 | 30.8% | 30.7% |

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](/agents/new), on paper first, or see the rest of the [strategy library](/strategies/library).
