[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-kama-en":3},"# Adaptive Moving Average (KAMA)\n\n> StratCraft indicator page for the KAMA adaptive trend line.\n\n**Route**: `\u002Findicators\u002Fkama\u002F`\n\n## What It Does\n\nKAMA adapts its smoothing behavior to market efficiency. It reacts faster in directional moves and slows down in noisy conditions.\n\n## Formula\n\nKAMA uses an efficiency ratio and a volatility-adjusted smoothing constant to adapt the moving average to market conditions.\n\n## Parameters\n\n- `period` - default `30`\n- `fast` - default `2`\n- `slow` - default `30`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Fkama.hpp>\nauto kama = std::make_unique\u003Cnonabt::KAMA>(data().close(), 30, 2, 30);\n```\n\n## Common Usage\n\n- Use KAMA as a regime-aware trend line.\n- Combine it with price crossovers or slope filters.\n- Useful when the market alternates between trending and noisy phases.\n\n## Practical Pattern\n\nUse KAMA when you want one line that automatically becomes more responsive in clean trends and more conservative in chop.\n"]