How do I extend a plotted line in Thinkscript

J

javin82

New member
I am trying to connect two points with a solid line and would like to extend the line past the second point. (extended to the right)

I am using the enableApproximation function and don't know if that is the best option. What am I doing wrong?

def high = high;
plot highs = if high > high[1] then high else double.nan;
highs.setstyle(curve.firm);
highs.enableapproximation();
 

Similar threads

Top