StratCraft

真實強弱指數 (True Strength Index)

雙重平滑動量的 QuantNexus 指標頁面。

Route: /quantnexus/indicators/tsi/

作用

TSI 在對價格變動應用雙重平滑轉換後衡量動量。

公式

TSI = 雙重平滑的價格變動 / 雙重平滑的價格變動絕對值

參數

  • period1 - 預設 25
  • period2 - 預設 13
  • pchange - 預設 1
  • _movav - 預設 EMA

C++23 API

#include <nonabt/indicators/tsi.hpp>
auto tsi = std::make_unique<nonabt::TSI>(data().close(), 25, 13, 1, "EMA");

常見用法

  • 用於以更少的噪音確認趨勢動量。
  • 與信號線或零軸邏輯配合使用。
  • 有助於趨勢跟踪和反轉時機判斷。