Is there any way to write an indicator that will draw and extended line between 2 points (say the Close[28] and Close[0] and capture the value of that line for a future bar condition?
I want to use it in a strategy I've written. For instance, lets say I need an extended line drawn between the Close at 14:15 EST yesterday and the Close at 08:00 EST this morning. (I can draw this line in the Strategy, but there are no values to it.)
Once the line is drawn, it stays put. I need to be able to access the value of that line sometime in the future. For instance, If Time > 09:30 EST and Close[0] < Extended line value then Enter Short.
I'm terrible building indicators and have been through all the tutorials but can't find any example that's close. DrawExtendedLine is a drawing command and not an indicator so I can't even open it up to see how it's done.
Suggestion, Help, Guidance, Advice??
Thanks much,
Joe
Comment