AddVerticalLine for specified bar and specified times


Category:
0
0

Happy Thanksgiving Again!

 

How do I use AddVerticalLine to plot a vertical line every X bars or X time (minutes, hours, days, weeks, etc) for instance?  I would like to customize input bars and input time (because they can differ) and have vertical plots for those, thank you!

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on November 28, 2019 5:48 am
116 views
0
Private answer

The solution to this request is far beyond the level of complexity for something I would provide in the Q&A forum. Your request may sound simple. However it requires the code to loop through every bar on the chart each time a bar is added to the chart. Loops in Thinkorswim are a royal pain to work with.

Marked as spam
Posted by (Questions: 37, Answers: 4087)
Answered on November 28, 2019 9:41 am