Smoothed Heiken Ashi
BTCUSDT · weekly · default settings
9 closed round-trips — a verdict needs 30.
- Net CAGR
- +13.9%
- vs buy & hold
- −3.2 pp
- Max. Drawdown
- −63.0%
- Round-Trips
- 9
- Win rate
- 56%
Today: invested since 2026-08-31

Heiken-Ashi candles smoothed twice — colour flip = signal. A noise filter that turns a chart into trend or no-trend.
Basis: 10856 user backtests · BTCUSDT · 1d · 4 years
Smoothed Heiken Ashi (SHA) is a classic noise filter that converts a regular OHLC chart into two trend states — bullish (green) or bearish (red) — and trades the colour flips.
The pipeline runs in three stages:
Stage 1 — Pre-smooth the input candles. Each of the four OHLC series (open / high / low / close) is independently smoothed with a moving average of length smoothLength (default 10). You can pick the MA type: SMA, EMA or WMA. This step kills high-frequency wicks before the Heiken-Ashi recursion sees them.
Stage 2 — Compute Heiken-Ashi. Classic HA formula on the smoothed series: haClose = (o + h + l + c) / 4, haOpen = (prev haOpen + prev haClose) / 2, haHigh = max(h, haOpen, haClose), haLow = min(l, haOpen, haClose). Heiken-Ashi is already a smoothing technique — running it on already-smoothed input compounds the effect.
Stage 3 — Post-smooth the HA series. Apply the same MA again with length afterSmoothLength (default 10) to haOpen and haClose. The final coloured candle is what triggers the signal.
Signals (colour flip):
haClose > haOpen on the current bar AND was not strictly green on the previous bar (red → green transition).haClose < haOpen on the current bar AND was not strictly red on the previous bar (green → red transition).With double-smoothing the strategy becomes lazy by design: false flips in choppy markets are absorbed by the second MA layer, but real trend reversals also arrive a few bars late. That's the trade-off.
| Name | Default | Range | Description |
|---|---|---|---|
| Pre-Smooth Length | 10 | 1–100 | Moving-average length applied to the raw OHLC series before the Heiken-Ashi step. Higher = smoother input, fewer false flips. |
| Post-Smooth Length | 10 | 1–100 | Moving-average length applied to the HA-open / HA-close series. Higher = lazier colour, fewer signals. |
| MA Type | 0 | 0–2 | Type of moving average used for both smoothing stages. SMA (simple), EMA (exponential, default) or WMA (weighted). |
The pre-baked mini-backtest is refreshed daily — check back soon or start a live run in the Arena.
Run in Arena →Top-10 assets by average CAGR (1d interval), aggregated from community + platform backtests. Actual results depend on parameters and period.
| Asset | CAGR | vs B&H | ★ | Runs |
|---|---|---|---|---|
| HUSDT | +807.5% | +870.6pp | 86 | 5 |
| TROLLUSDT | +304.7% | +287.0pp | 61 | 11 |
| USELESSUSDT | +243.9% | +107.6pp | 69 | 9 |
| ZORAUSDT | +186.1% | +267.0pp | 61 | 6 |
| KITEUSDT | +166.4% | +193.1pp | 78 | 4 |
| FTMUSDT | +151.5% | +96.9pp | 81 | 12 |
| VVVUSDT | +144.4% | -499.2pp | 42 | 6 |
| ZECUSDT | +113.6% | +5.6pp | 73 | 1 |
| SLCUSDT | +98.7% | +93.2pp | 56 | 8 |
| WLDUSDT | +89.1% | +137.7pp | 84 | 1 |
One backtest per pair on default parameters since 2018, net of cost, and the out-of-sample verdict over the same window. Recomputed daily. Unlike the table above, not an average over many runs.
BTCUSDT · weekly · default settings
9 closed round-trips — a verdict needs 30.
Today: invested since 2026-08-31
ETHUSDT · weekly · default settings
9 closed round-trips — a verdict needs 30.
Today: invested since 2026-08-24
// Stage 1: smooth raw OHLC
so = MA(open, smooth_length, ma_type)
sh = MA(high, smooth_length, ma_type)
sl = MA(low, smooth_length, ma_type)
sc = MA(close, smooth_length, ma_type)
// Stage 2: Heiken-Ashi on smoothed candles
for i in 0..n:
haClose[i] = (so[i] + sh[i] + sl[i] + sc[i]) / 4
haOpen[i] = i == 0 ? (so[i] + sc[i]) / 2
: (haOpen[i-1] + haClose[i-1]) / 2
// Stage 3: smooth HA again
finalOpen = MA(haOpen, after_smooth_length, ma_type)
finalClose = MA(haClose, after_smooth_length, ma_type)
// Signals: colour flip
for i in 1..n:
prev_green = finalClose[i-1] > finalOpen[i-1]
prev_red = finalClose[i-1] < finalOpen[i-1]
curr_green = finalClose[i] > finalOpen[i]
curr_red = finalClose[i] < finalOpen[i]
if curr_green and not prev_green and position.is_flat:
BUY
if curr_red and not prev_red and position.is_long:
SELLStart with **EMA** (default) — reacts a bit faster than SMA while still smoothing well. **SMA** is the most lagging but cleanest in pure trends. **WMA** sits between the two and emphasises the most recent bars. Test all three on your asset of choice — the difference can be meaningful on shorter timeframes.
Two reasons: (1) the warmup is `smoothLength + afterSmoothLength + ~10 bars` — on weekly candles that's already ~30 weeks of dead time before the first signal can fire. (2) Double-smoothing absorbs many small flips that simpler strategies would trade. If you want more signals, shorten both lengths or switch to a daily timeframe.
Plain Heiken-Ashi already smooths the chart via its `(o+h+l+c)/4` and recursive open formula. Smoothed HA adds a pre-smoothing step (MA over each raw OHLC series) and a post-smoothing step (MA over the HA-open / HA-close). The result is much lazier — and that's the whole point: false signals in choppy markets get absorbed, real trend changes still come through, just slower.
Two EMAs plus an ATR-based neutral zone — like the commercial Larsson Line, but tunable, transparent, and backtested. Choose your bias.
Two weighted moving averages crossing — recent candles weight more, signals fire faster than SMA-based crosses. Validated on BTC weekly.
The classic trend-following signal — when the 50-day SMA crosses above the 200-day SMA, the trend has flipped bullish.
Check out our Strategy Insights Reports — pre-baked deep-dives with historical results, comparisons, and market context.