Thinkscript horizontal line length ?

K

kblaine123

New member
Is there a simple script to limit the length of the horizontal line to say 30 or 60 bars rather than the whole length of the chart ?
plot support = D*1.2;
support.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
support.setDefaultColor(Color.Yellow);
support.SetLineWeight(3);
 
T

ThinkScriptNoob

New member
Hi All,

I'm still new to ThinkScript and was wondering if anyone knew how to plot a Horizontal Line (for 5 bars) at the point where the ZigZagHighLow switched directions?

Thanks!
 
Prison Mike

Prison Mike

Member
I would search the forum. I believe there is a few out there. Maybe one is zigzag supply and demand zones?
 

Similar threads

Top