[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-tsi-zh-tw":3},"# 真實強弱指數 (True Strength Index)\n\n> 雙重平滑動量的 StratCraft 指標頁面。\n\n**Route**: `\u002Findicators\u002Ftsi\u002F`\n\n## 作用\n\nTSI 在對價格變動應用雙重平滑轉換後衡量動量。\n\n## 公式\n\n`TSI = 雙重平滑的價格變動 \u002F 雙重平滑的價格變動絕對值`\n\n## 參數\n\n- `period1` - 預設 `25`\n- `period2` - 預設 `13`\n- `pchange` - 預設 `1`\n- `_movav` - 預設 `EMA`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Ftsi.hpp>\nauto tsi = std::make_unique\u003Cnonabt::TSI>(data().close(), 25, 13, 1, \"EMA\");\n```\n\n## 常見用法\n\n- 用於以更少的噪音確認趨勢動量。\n- 與信號線或零軸邏輯配合使用。\n- 有助於趨勢跟踪和反轉時機判斷。\n"]