StratCraft

DV2 (DV2)

QuantNexus indicator page for DV2.

Route: /quantnexus/indicators/dv2/

What It Does

DV2 is a utility-style indicator that can be used to measure directional movement behavior across a lookback window.

Formula

DV2 is derived from a directional movement style computation over the selected period.

Parameters

  • period - default 252
  • maperiod - default 2
  • _movav - default SMA

C++23 API

#include <nonabt/indicators/dv2.hpp>
auto dv2 = std::make_unique<nonabt::DV2>(data(), 252, 2, "SMA");

Common Usage

  • Use DV2 as a custom directional signal helper.
  • Combine it with threshold logic or crossover logic.
  • Helpful when you need a raw movement-derived value.

Practical Pattern

DV2 is best treated as a building block for more specific momentum or direction rules.