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 - default 14
  • movav - default SmoothedMovingAverage

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_DI to identify directional bias.
  • Confirm uptrend strength when PLUS_DI rises above MINUS_DI.
  • Pair it with a trend filter instead of acting on it alone.