[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-priceosc-en":3},"# Price Oscillator (PRICEOSC)\n\n> StratCraft indicator page for the absolute price oscillator.\n\n**Route**: `\u002Findicators\u002Fpriceosc\u002F`\n\n## What It Does\n\nPRICEOSC measures the absolute spread between two moving averages.\n\n## Formula\n\n`Price Oscillator = EMA(period1) - EMA(period2)`\n\n## Parameters\n\n- `period1` - default `12`\n- `period2` - default `26`\n- `_movav` - default `ExponentialMovingAverage`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Fpriceosc.hpp>\nauto priceOsc = std::make_unique\u003Cnonabt::PRICEOSC>(data().close(), 12, 26, \"ExponentialMovingAverage\");\n```\n\n## Common Usage\n\n- Use it to measure trend spread without normalizing by price.\n- Pair it with a signal or threshold for cleaner decisions.\n- Helpful when price scale is already comparable across samples.\n"]