# Trix (TRIX)

> QuantNexus indicator page for the TRIX momentum oscillator.

**Route**: `/quantnexus/indicators/trix/`

## What It Does

TRIX is a triple-smoothed EMA rate-of-change oscillator. It reduces noise and is often used to confirm trend momentum shifts.

## Formula

`TRIX = 1-period rate of change of a triple-smoothed EMA`

## Parameters

- `period` - default `15`
- `_rocperiod` - default `1`
- `_movav` - default `EMA`

## C++23 API

```cpp
#include <nonabt/indicators/trix.hpp>
auto trix = std::make_unique<nonabt::TRIX>(data().close(), 15, 1, "EMA");
```

## Common Usage

- Use TRIX to confirm trend momentum.
- Pair it with a signal line or zero threshold.
- Helpful when you want a smoother momentum oscillator than plain ROC.

## Practical Pattern

Use TRIX as a momentum gate: only take entries when TRIX is aligned with the higher-timeframe direction.
