Mẫu nến và các ô chỉ báo
Code
Xem tài liệu →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)● Dữ liệu thị trường giả lập, sinh ngay trong trình duyệt của bạn
134 chỉ báo trong ô riêng hoặc vẽ đè lên giá, và 64 mẫu nến được đánh dấu ngay trên nến.
API: candlepatterns
