StratCraft

全功能随机指标 (Stochastic Full)

全功能随机振荡器的 QuantNexus 指标页面。

Route: /quantnexus/indicators/stochfull/

作用

STOCHFULL 在随机振荡器的基础上增加了一个较慢的平滑阶段,以提供更完整的信号线。

公式

%K = 100 * (收盘价 - n周期内最低低点) / (n周期内最高高点 - n周期内最低低点),然后平滑为快线和慢线。

参数

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

C++23 API

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

常见用法

  • 用于减少随机指标信号中的噪音。
  • 在进场交易前与趋势确认配合使用。
  • 对较慢的反转和波段设置(swing setups)非常有用。