รูปแบบและแผงอินดิเคเตอร์

import { Chart, detectCandlePatterns } from '@tradecanvas/chart'

const chart = new Chart(el, { theme: 'dark' })
chart.setData(bars)
chart.addIndicator('candlepatterns')       // 64 patterns, marked on the bars
chart.addIndicator('ema', { period: 21 })
chart.addIndicator('rsi', { period: 14 })
chart.addIndicator('macd')

// Or read them yourself
const found = detectCandlePatterns(bars)

● ข้อมูลตลาดจำลอง สร้างขึ้นในเบราว์เซอร์ของคุณ

อินดิเคเตอร์ 134 ตัวในแผงของตัวเองหรือบนราคา และรูปแบบแท่งเทียน 64 แบบที่ทำเครื่องหมายไว้บนแท่ง

API: candlepatterns