Order blocks
Código
Leer la documentación →import { ChartWidget } from '@tradecanvas/chart/widget'
import { detectOrderBlocks } from '@tradecanvas/chart'
const widget = new ChartWidget(document.getElementById('chart')!, {
symbol: 'BTCUSDT',
timeframe: '15m',
theme: 'light',
adapter: feed,
})
const chart = widget.getChart()
chart.addIndicator('orderblocks') // the latest 5 standing on each side; count: 0 draws all
// Or find them yourself
const blocks = detectOrderBlocks(bars, { length: 5 })import { ChartWidget } from '@tradecanvas/chart/widget'
import { detectOrderBlocks } from '@tradecanvas/chart'
const widget = new ChartWidget(document.getElementById('chart')!, {
symbol: 'BTCUSDT',
timeframe: '15m',
theme: 'dark',
adapter: feed,
})
const chart = widget.getChart()
chart.addIndicator('orderblocks') // the latest 5 standing on each side; count: 0 draws all
// Or find them yourself
const blocks = detectOrderBlocks(bars, { length: 5 })● Datos de mercado simulados, generados en tu navegador
138 indicadores en sus propios paneles o sobre el precio, y 64 patrones de velas marcados sobre las barras.
API: addIndicator('orderblocks')







