示範Smoothed Heikin-Ashi

Smoothed Heikin-Ashi

import { Chart } from '@tradecanvas/chart'

const chart = new Chart(document.getElementById('chart')!, {
  theme: 'light',
  chartType: 'smoothedHeikinAshi',
})
chart.setData(bars)          // OHLCV bars, oldest first
chart.setChartType('smoothedHeikinAshi')  // switch at any time
import { Chart } from '@tradecanvas/chart'

const chart = new Chart(document.getElementById('chart')!, {
  theme: 'dark',
  chartType: 'smoothedHeikinAshi',
})
chart.setData(bars)          // OHLCV bars, oldest first
chart.setChartType('smoothedHeikinAshi')  // switch at any time

● 模擬行情資料,在你的瀏覽器中產生

先把價格依若干根K線取平均(預設 10 根),再畫 Heikin-Ashi。

API: chartType: 'smoothedHeikinAshi'

何時使用

它呈現什麼
趨勢呈現為一長串同色蠟燭:比一般 Heikin-Ashi 轉色更晚、更少。
注意事項
平滑帶來更大落後,蠟燭的價格是平均值,不是成交價。
誰會用它
想留在一段行情裡、不理會回檔的趨勢追蹤者。

把上方圖表切換為同一類的其他類型;每一種都保留目前的行情。