Hello All, I have some knowledge of Thinkscript (enough to be dangerous ), but I am having a mental block on adding vertical lines to a chart from a specific starting point. What I am interested in achieving is from a specific starting point (ie Oct 13, 2022 - SPX low) placing a vertical line every 59 bars into the future. I am working on "Price and Time" moves (ie taking the square root of the low 3491 or 59) and marking every 59 bars in the future.
I have tried adding different barcount calculations to the "SecondsFromTime(0930)==0" without success
I assume there is an easy solution but am blanking. Any help would be greatly appreciated.
Code:
AddVerticalLine(SecondsFromTime(0930)==0,"Open",Color.Gray,Curve.SHORT_DASH);
I have tried adding different barcount calculations to the "SecondsFromTime(0930)==0" without success