Fair value gaps
Code
Read the 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 })● Simulated market data, generated in your browser
138 indicators in their own panes or on the price, and 64 candlestick patterns marked on the bars.
API: addIndicator('fvg')







