Drawing a diagonal line to strike price of a position


New member
I am struggling with writing thinkscript that will do what the title says...

Basically, one of the strategies I use is to sell verticals on 0DTE SPX. I like to draw a diagonal line from my entry to the strike price of the short legs as a visual that when the candles are above/below the line, they're in profit.

I keep finding tutorials on horizontal lines but having a hard time with grabbing the strike and then drawing a diagonal to the strike.

Similar threads