Help with vertical line objects please....

 

I wonder if any of you could give me a push in the right direction?

I want to build an indicator that acts a little like the built in cyclelines tool. However, rather than using the fixed increment of this tool, I want to be able to set the increments. So, at this stage, it seems that my only option is to build an indicator that creates vertical lines using datetime to add however many seconds to locate each vertical line. If this is correct, then I will also need to figure out how many Saturdays and Sundays there are within the time range so that these can be ignored.

Do you think that this is the best way to solve this, or, is there an easier or more efficient way ie: shift or something that I am missing?

Really appreciate any pointers that you can offer here.

Cheers

 

May be this will help - A Tool: Vertical Grid Plotter

Cheers

 
Ais:

May be this will help - A Tool: Vertical Grid Plotter

Cheers


Thanks for the link Ais, unfortunately it isn't quite what I am after. The increments that I want will not be uniform so I think that I will have to use date time and figure out a loop to determine how many weekends there are in the range as I need counts of trading days.

Thanks anyway

Reason: