[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-trix-en":3},"# Trix (TRIX)\n\n> StratCraft indicator page for the TRIX momentum oscillator.\n\n**Route**: `\u002Findicators\u002Ftrix\u002F`\n\n## What It Does\n\nTRIX is a triple-smoothed EMA rate-of-change oscillator. It reduces noise and is often used to confirm trend momentum shifts.\n\n## Formula\n\n`TRIX = 1-period rate of change of a triple-smoothed EMA`\n\n## Parameters\n\n- `period` - default `15`\n- `_rocperiod` - default `1`\n- `_movav` - default `EMA`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Ftrix.hpp>\nauto trix = std::make_unique\u003Cnonabt::TRIX>(data().close(), 15, 1, \"EMA\");\n```\n\n## Common Usage\n\n- Use TRIX to confirm trend momentum.\n- Pair it with a signal line or zero threshold.\n- Helpful when you want a smoother momentum oscillator than plain ROC.\n\n## Practical Pattern\n\nUse TRIX as a momentum gate: only take entries when TRIX is aligned with the higher-timeframe direction.\n"]