[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-meandeviation-en":3},"# Mean Deviation (MEANDEVIATION)\n\n> StratCraft indicator page for average distance from a moving average.\n\n**Route**: `\u002Findicators\u002Fmeandeviation\u002F`\n\n## What It Does\n\nMEANDEVIATION measures how far price typically moves away from its moving-average baseline over the lookback window.\n\n## Formula\n\n`Mean Deviation = average(|Price - Moving Average|)`\n\n## Parameters\n\n- `period` - default `20`\n- `movav` - default `MovingAverageSimple`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Fmeandeviation.hpp>\nauto meanDev = std::make_unique\u003Cnonabt::MEANDEVIATION>(data().close(), 20, \"MovingAverageSimple\");\n```\n\n## Common Usage\n\n- Use it as a volatility context measure around a baseline.\n- Combine it with band-style systems or breakout filters.\n- Helpful when you need a direct average-distance reading instead of a standard deviation.\n"]