StratCraft

Cross Over (CROSSOVER)

QuantNexus indicator page for crossover detection.

Route: /quantnexus/indicators/crossover/

What It Does

CROSSOVER detects when one line moves above another. It is a primary building block for trend-following systems.

Formula

Cross Over = fast line crosses above slow line

Parameters

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

C++23 API

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

Common Usage

  • Use CROSSOVER for bullish trend triggers.
  • Combine with confirmation rules.
  • Useful for moving average cross systems.

Practical Pattern

When the fast line crosses above the slow line, the system can interpret it as bullish confirmation.