Plus Directional Indicator (PLUS_DI)
StratCraft indicator page for upside directional strength.
Route: /indicators/plus-di/
What It Does
PLUS_DI measures the strength of upward directional movement over a rolling window.
Formula
+DI = smoothed positive directional movement / smoothed true range
Parameters
period- default14movav- defaultSmoothedMovingAverage
C++23 API
#include <nonabt/indicators/plus_di.hpp>
auto plusDi = std::make_unique<nonabt::PLUS_DI>(data().close(), 14, "SmoothedMovingAverage");
Common Usage
- Use it with
MINUS_DIto identify directional bias. - Confirm uptrend strength when
PLUS_DIrises aboveMINUS_DI. - Pair it with a trend filter instead of acting on it alone.
