Hello friends,
I found an indicator on this forum and am trying to improve it. The indicator creates vertical lines to separate periods.
The first improvement that I would like to achieve would be to define a different period separation interval for each timeframe.
I almost got it, but it is showing errors.
I'm not a programmer, so I did it through trial and error and the code is not at all elegant.
Error: Some lines duplicated or in the wrong place.
The second improvement: the indicator should create the vertical line for the end of the current period. But I have no idea how to do this.
If any of you have time available please help me.
Here is the original mq4 file:
And here is the mq4 file that I modified