[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-ma-en":3},"# Moving Average Base (MA)\n\n> StratCraft indicator page for the base moving average line.\n\n**Route**: `\u002Findicators\u002Fma\u002F`\n\n## What It Does\n\nMA is the catalog's base moving average entry. In this data set it is also aliased to SMA and SimpleMovingAverage.\n\n## Formula\n\n`MA = average(price over period)`\n\n## Parameters\n\n- `period` - default `30`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Fma.hpp>\nauto ma = std::make_unique\u003Cnonabt::MA>(data().close(), 30);\n```\n\n## Common Usage\n\n- Use MA as a baseline for trend direction.\n- Combine fast and slow MA lines for crossover systems.\n- Use it as a cleaner reference line when you want a generic moving average entry.\n"]