1

As the subject goes:

How to focus visibilty to specific time set in lightweight charts?

Im running this script to do backtesting and its a true pain to find certain markers (im on the 1 minute so i have 1000+ rows of price rows)

I know the time of the candle i want to see how do I focus on it?

Viking
  • 465
  • 3
  • 15

1 Answers1

1

To read/write data to lightweight-charts time scale, use the ITimeScaleApi. You're likely looking for the setVisibleLogicalRange or scrollToPosition methods.

willbeing
  • 393
  • 2
  • 14