Range bars
코드
문서 보기 →import { Chart } from '@tradecanvas/chart'
const chart = new Chart(document.getElementById('chart')!, {
theme: 'light',
chartType: 'rangeBars',
})
chart.setData(bars) // OHLCV bars, oldest first
chart.setChartType('rangeBars') // switch at any timeimport { Chart } from '@tradecanvas/chart'
const chart = new Chart(document.getElementById('chart')!, {
theme: 'dark',
chartType: 'rangeBars',
})
chart.setData(bars) // OHLCV bars, oldest first
chart.setChartType('rangeBars') // switch at any time● 브라우저에서 생성한 시뮬레이션 시장 데이터
고가-저가 폭이 고정된 봉으로, 가격이 그만큼 움직여야 새 봉이 생깁니다.
API: chartType: 'rangeBars'
언제 쓰나
- 보여 주는 것
- 시계와 상관없이 같은 크기의 봉: 빠른 장에서는 많이, 조용한 장에서는 적게.
- 유의할 점
- 마지막 봉은 아직 만들어지는 중이고, 봉 개수가 더는 시간을 재지 않습니다.
- 누가 쓰나
- 축에 분이 아니라 거래 활동을 두고 싶은 데이 트레이더와 선물 트레이더.
위 차트를 같은 계열의 다른 유형으로 바꿔 보세요. 어느 유형이든 이 시장을 그대로 유지합니다.







