# Heikin-Ashi Trend, 8H, Long Only

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

## Rules

**Entry.** Heikin-Ashi candles are built from the 8H candles: close = (open + high + low + close) / 4, open = the average of the previous Heikin-Ashi open and close. On a closed 8H candle above EMA(150), go long when the last 1 Heikin-Ashi candle is green and the one before it was red. Long only.

**Managing the trade.** Close after 3 red Heikin-Ashi candles in a row.

**Stop and target.** Stop 3 x ATR(14) on the 8H chart from the entry, never moved. No fixed target.

## Exact rules

```text

8H candles close at 00:00, 08:00 and 16:00 UTC, so a signal is checked three times a day. The Heikin-Ashi open is the 3-period EMA of (open + high + low + close) / 4 one candle back, which is the same recursion.

[EXACT RULES]
timeframe: 8H
direction: long only
long entry: ALL(ohlc4 > EMA(3, ohlc4)[1], 1)
long entry: ohlc4[1] < EMA(3, ohlc4)[2]
long entry: close > EMA(150)
long exit: ALL(ohlc4 < EMA(3, ohlc4)[1], 3)
stop: 3 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 | 330 | +64.5% | 1.66 | 17.5% | 35.8% |
| Judged on | 162 | +10.3% | 1.24 | 10.9% | 32.7% |
| Whole period | 492 | +81.5% | 1.48 | 17.5% | 34.8% |

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).
