Custom Study Output draws a line from bar to bar
I'm working on making a custom study that draws a line from bar to bar. For instance, from the low of the previous bar to the high of the current bar. Would appreciate any help at all. Thanks in advance!