데모오더 블록

오더 블록

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 })

● 브라우저에서 생성한 시뮬레이션 시장 데이터

별도 패널이나 가격 위에 그리는 138개 지표, 봉 위에 표시되는 64개 캔들 패턴.

API: addIndicator('orderblocks')