Stochastic Fast (STOCHF)

StratCraft indicator page for the fast stochastic oscillator.

Route: /indicators/stochf/

What It Does

STOCHF measures the close position within the recent high-low range and applies a fast smoothing step.

Formula

%K = 100 * (Close - Lowest Low(n)) / (Highest High(n) - Lowest Low(n))

Parameters

  • period - default 14
  • period_dfast - default 3
  • movav - default MovingAverageSimple
  • upperband - default 80
  • lowerband - default 20
  • safediv - default False
  • safezero - default 0

C++23 API

#include <nonabt/indicators/stochf.hpp>
auto stochF = std::make_unique<nonabt::STOCHF>(14, 3, "MovingAverageSimple", 80.0, 20.0, "False", 0);

Common Usage

  • Use it for short-term momentum and reversal detection.
  • Pair it with price structure or trend filters.
  • Helpful when you want a faster oscillator than full stochastic.