Can someone guide on plotting static horizontal lines on specific intervals.

Example: I need to plot horizontal lines from 10 to 100 with gap of 10 points.

So the lines will be plotted on 10,20,30,40 and so on till 100.

Thanks.

Can someone guide on plotting static horizontal lines on specific intervals.

Example: I need to plot horizontal lines from 10 to 100 with gap of 10 points.

So the lines will be plotted on 10,20,30,40 and so on till 100.

Thanks.

You may use PlotGrid.

Pattern = 10 plots solid line. If you need other pattern then please read upper link.

```
Plot( C, "Price", colorDefault, styleBar );
pattern = 10;
width = 1;
for ( i = 10; i <= 100; i+=10 )
PlotGrid( i, colorRed, pattern, width, True );
```

5 Likes

Thanks a lot !!