# Heikin Ashi (HEIKINASHI)

> QuantNexus indicator page for Heikin Ashi candles.

**Route**: `/quantnexus/indicators/heikinashi/`

## What It Does

Heikin Ashi transforms OHLC data into smoothed candles. It is useful for identifying cleaner trend structure and filtering noise.

## Formula

`HA Close = (Open + High + Low + Close) / 4`

`HA Open = (HA Open_prev + HA Close_prev) / 2`

`HA High = max(High, HA Open, HA Close)`

`HA Low = min(Low, HA Open, HA Close)`

## Parameters

- `period` - default `14`

## C++23 API

```cpp
#include <nonabt/indicators/heikinashi.hpp>
auto ha = std::make_unique<nonabt::HEIKINASHI>(data(), 14);
```

## Common Usage

- Use Heikin Ashi to filter noisy candles.
- Use it to visualize trend direction more clearly.
- Combine with moving averages or momentum indicators.

## Practical Pattern

Heikin Ashi is often used as a confirmation layer rather than a standalone entry signal.
