ipt" src="./js/dataSource.js"></script>
    <link rel="stylesheet" type="text/css" href="./css/chart.css"/>
    <title>技术指标模板自定义绘制</title>
  </head>
  <body>
    <noscript>You need to enable JavaScript to run this app.</noscript>
    <div id="chart"></div>
    <script>
      window.onload = function () {
        var chart = klinecharts.init('chart')
        // 添加一个指标模板
        chart.addTechnicalIndicatorTemplate({
          name: 'TEST-Render',
          precision: 2,
 