[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-dv2-de":3},"# DV2 (DV2)\n\n> StratCraft indicator page for DV2.\n\n**Route**: `\u002Findicators\u002Fdv2\u002F`\n\n## What It Does\n\nDV2 is a utility-style indicator that can be used to measure directional movement behavior across a lookback window.\n\n## Formula\n\nDV2 is derived from a directional movement style computation over the selected period.\n\n## Parameters\n\n- `period` - default `252`\n- `maperiod` - default `2`\n- `_movav` - default `SMA`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Fdv2.hpp>\nauto dv2 = std::make_unique\u003Cnonabt::DV2>(data(), 252, 2, \"SMA\");\n```\n\n## Common Usage\n\n- Use DV2 as a custom directional signal helper.\n- Combine it with threshold logic or crossover logic.\n- Helpful when you need a raw movement-derived value.\n\n## Practical Pattern\n\nDV2 is best treated as a building block for more specific momentum or direction rules.\n"]