# Flat-Bottom Heikin-Ashi

A built-in strategy on Central Command, tested on BloFin history. **Held up on its coins, not on others.** 4H candles, long and short, category Trend Following.

## Rules

**Entry.** Heikin-Ashi close = (open + high + low + close) / 4; Heikin-Ashi open = the average of the previous Heikin-Ashi open and close. On a closed 4H candle above EMA(200), go long when the Heikin-Ashi candles turn from red to green with a green candle that has no lower wick (the real candle's low stayed above the Heikin-Ashi open). Below EMA(200), go short when they turn from green to red with a red candle that has no upper wick.

**Managing the trade.** Close a long after two red Heikin-Ashi candles in a row; close a short after two green ones.

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

## Exact rules

```text

timeframe: 4H
long entry: ohlc4 > EMA(3, ohlc4)[1] AND low >= EMA(3, ohlc4)[1]
long entry: ohlc4[1] < EMA(3, ohlc4)[2]
long entry: close > EMA(200)
short entry: ohlc4 < EMA(3, ohlc4)[1] AND high <= EMA(3, ohlc4)[1]
short entry: ohlc4[1] > EMA(3, ohlc4)[2]
short entry: close < EMA(200)
long exit: ALL(ohlc4 < EMA(3, ohlc4)[1], 2)
short exit: ALL(ohlc4 > EMA(3, ohlc4)[1], 2)
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 | 379 | +24.7% | 1.24 | 12.1% | 36.7% |
| Judged on | 251 | +28.4% | 1.47 | 10.9% | 37.0% |
| Whole period | 630 | +60.1% | 1.34 | 12.9% | 36.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).
