Fair value gaps
Code
Đọc docs →import { ChartWidget } from '@tradecanvas/chart/widget'
import { detectFairValueGaps } from '@tradecanvas/chart'
const widget = new ChartWidget(document.getElementById('chart')!, {
symbol: 'ETHUSDT',
timeframe: '15m',
theme: 'light',
adapter: feed,
})
const chart = widget.getChart()
chart.addIndicator('fvg', { minPercent: 0.05 })
// Or find them yourself
const gaps = detectFairValueGaps(bars, { minPercent: 0.05 })import { ChartWidget } from '@tradecanvas/chart/widget'
import { detectFairValueGaps } from '@tradecanvas/chart'
const widget = new ChartWidget(document.getElementById('chart')!, {
symbol: 'ETHUSDT',
timeframe: '15m',
theme: 'dark',
adapter: feed,
})
const chart = widget.getChart()
chart.addIndicator('fvg', { minPercent: 0.05 })
// Or find them yourself
const gaps = detectFairValueGaps(bars, { minPercent: 0.05 })● Dữ liệu thị trường giả lập, tạo trong trình duyệt của bạn
138 chỉ báo trong pane riêng hoặc trên giá, và 64 mẫu nến được đánh dấu trên nến.
API: addIndicator('fvg')







