ce.to; i++) {
              const barWidth = Math.floor(result[i].volume / max * 150)
              ctx.fillRect(viewport.width - barWidth, startY, barWidth, realBarHeight)
              startY += barHeight
            }
          }
        })
        chart.createTechnicalIndicator('MA', false, { id: 'candle_pane' })
        chart.createTechnicalIndicator('TEST-Render', true, { id: 'candle_pane' })
        chart.createTechnicalIndicator('KDJ')
        chart.applyNewData(generated())
      }
    </script>
  