[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-oscillator-es":3},"# Oscillator (OSCILLATOR)\n\n> StratCraft indicator page for acceleration-based oscillator movement.\n\n**Route**: `\u002Findicators\u002Foscillator\u002F`\n\n## What It Does\n\nOSCILLATOR tracks trend acceleration using an acceleration-factor model with configurable step and cap values.\n\n## Formula\n\nThe oscillator updates a running value using `period`, `af`, and `afmax` to control the rate of change and maximum acceleration.\n\n## Parameters\n\n- `period` - default `2`\n- `af` - default `0.02`\n- `afmax` - default `0.2`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Foscillator.hpp>\nauto osc = std::make_unique\u003Cnonabt::OSCILLATOR>(data().close(), 2, 0.02, 0.2);\n```\n\n## Common Usage\n\n- Use it to track trend acceleration and possible reversals.\n- Pair it with a price cross or a directional filter.\n- Best used as a confirmation layer, not a standalone trigger.\n"]