オーダーブロック
コード
ドキュメントを見る →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')







