平均燭台 (Heikin Ashi)
平均燭台(Heikin Ashi)的 QuantNexus 指標頁面。
Route: /quantnexus/indicators/heikinashi/
作用
平均燭台(Heikin Ashi)將 OHLC 數據轉換為平滑的燭台。它有助於識別更清晰的趨勢結構並過濾市場噪音。
公式
HA Close = (Open + High + Low + Close) / 4
HA Open = (HA Open_prev + HA Close_prev) / 2
HA High = max(High, HA Open, HA Close)
HA Low = min(Low, HA Open, HA Close)
參數
period- 預設14
C++23 API
#include <nonabt/indicators/heikinashi.hpp>
auto ha = std::make_unique<nonabt::HEIKINASHI>(data(), 14);
常見用法
- 使用平均燭台來過濾帶有噪音的燭台。
- 使用它更清晰地視覺化趨勢方向。
- 與移動平均線或動量指標結合使用。
實用模式
平均燭台通常用作確認層,而不是獨立的進場信號。
