specific info regarding what I'm trying to code.
What I want to do is have the indicator draw a horizontal line from the close of the trigger bar in a method to the close of a bar I've assigned to a double from a previous trigger. The reason I need to use a double for the 1st plot point is that I don't know what bar it occurred on the past when the current trigger bar occurs.
I'm assuming I need to use this but what do i put in the ()
HorizontalLine myLine = Draw.HorizontalLine( please fill in blanks here )
To make the example easier to understand just the var previoustrigger in the explanation.
Also how do I draw a line a set number of bars forward or backwards from the current bar. Thanks in advance for your assistance.
Comment