[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-ols_betan-de":3},"# OLS Beta N (OLS_BETAN)\n\n> StratCraft indicator page for rolling regression beta.\n\n**Route**: `\u002Findicators\u002Fols-betan\u002F`\n\n## What It Does\n\nOLS_BETAN estimates a rolling ordinary least squares beta value for the input series.\n\n## Formula\n\n`beta = covariance(y, x) \u002F variance(x)` over the selected window, using the series' rolling regression context.\n\n## Parameters\n\n- `period` - default `10`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Fols_betan.hpp>\nauto beta = std::make_unique\u003Cnonabt::OLS_BETAN>(data().close(), 10);\n```\n\n## Common Usage\n\n- Use it to evaluate relative sensitivity in a rolling fit.\n- Treat it as an analysis tool rather than a direct entry trigger.\n- Pair it with slope or transformation outputs if you need richer regression context.\n"]