[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-di-en":3},"# Directional Indicator (DI)\n\n> StratCraft indicator page for DI.\n\n**Route**: `\u002Findicators\u002Fdi\u002F`\n\n## What It Does\n\nDI measures directional movement over time and is used as part of trend-strength analysis.\n\n## Formula\n\nDI is computed from smoothed directional movement and true range relationships.\n\n## Parameters\n\n- `period` - default `14`\n- `movav` - default `SmoothedMovingAverage`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Fdi.hpp>\nauto di = std::make_unique\u003Cnonabt::DI>(data(), 14, \"SmoothedMovingAverage\");\n```\n\n## Common Usage\n\n- Use DI as part of trend-strength filtering.\n- Combine it with its opposite directional line.\n- Useful in DMI and ADX-style systems.\n\n## Practical Pattern\n\nRising DI values can indicate stronger directional pressure in the current trend.\n"]