[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-accdeosc-en":3},"# Acceleration Deceleration Oscillator (ACCDEOSC)\n\n> StratCraft indicator page for the Acceleration\u002FDeceleration Oscillator.\n\n**Route**: `\u002Findicators\u002Faccdeosc\u002F`\n\n## What It Does\n\nACCDEOSC measures the change in the momentum of price acceleration. It is used to detect when the speed of a trend is increasing or fading.\n\n## Formula\n\n`Median Price = (High + Low) \u002F 2`\n\n`AO = SMA(Median Price, 5) - SMA(Median Price, 34)`\n\n`ACCDEOSC = AO - SMA(AO, 5)` (default `period = 5`; the `movav` parameter selects the final average).\n\n## Worked Example\n\nFor five illustrative AO values `1, 2, 2, 1, 2`, `SMA(AO, 5) = 1.6`. On the fifth bar, `ACCDEOSC = 2 - 1.6 = 0.4`. These AO values are supplied for arithmetic only; a full AO needs at least 34 median-price bars.\n## Parameters\n\n- `period` - default `5`\n- `movav` - default `SMA`\n\n## Backtrader API\n\n```python\nimport backtrader as bt\naccdeosc = bt.indicators.AccDeOsc(data, period=5)\n```\n\n## Common Usage\n\n- Use ACCDEOSC as a momentum change detector.\n- Combine it with trend filters to avoid noise.\n- Watch for sign changes or threshold breaks.\n\n## Practical Pattern\n\nAcceleration fading after a strong move can warn that the current trend is losing strength.\n\nSource: https:\u002F\u002Fwww.backtrader.com\u002Fdocu\u002Findautoref\u002F\n"]