      lineColor: "transparent", // hide the line
        topColor: "rgba(56, 33, 110,0.6)",
        bottomColor: "rgba(56, 33, 110, 0.1)",
      });
      // Set the data for the Area Series
      areaSeries.setData(lineData);

      // Create the Main Series (Candlesticks)
      const mainSeries = chart.addSeries(LightweightCharts.CandlestickSeries);
      // Set the data for the Main Series
      mainSeries.setData(candleStickData);

      // Changing the Candlestick colors
      mainSeries.applyOptions({