DemosSession volume profile

Session volume profile

import { ChartWidget } from '@tradecanvas/chart/widget'
import { sessionVolumeProfiles } from '@tradecanvas/chart'

const widget = new ChartWidget(document.getElementById('chart')!, {
  symbol: 'BTCUSDT',
  timeframe: '30m',
  theme: 'light',
  adapter: feed,
})
const chart = widget.getChart()
chart.addIndicator('svp', { rows: 24, valueArea: 70 })

// Each bar's lines are its whole day's: for reading a day, not for backtests
const days = sessionVolumeProfiles(bars, { rows: 24, valueArea: 70 })
import { ChartWidget } from '@tradecanvas/chart/widget'
import { sessionVolumeProfiles } from '@tradecanvas/chart'

const widget = new ChartWidget(document.getElementById('chart')!, {
  symbol: 'BTCUSDT',
  timeframe: '30m',
  theme: 'dark',
  adapter: feed,
})
const chart = widget.getChart()
chart.addIndicator('svp', { rows: 24, valueArea: 70 })

// Each bar's lines are its whole day's: for reading a day, not for backtests
const days = sessionVolumeProfiles(bars, { rows: 24, valueArea: 70 })

● 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('svp')