I’m trying to create code that draws horizantal segment for opening each week This line extends all the week.
i want to use this indicator for low TF like 5 min or 15-30 mins…
so i want any trick to get weekly closing date to add it in DateToBarIndex(date) to expend the line of segment until weekly closing date ?
Thank you, brother, for your effort… I guessed this way, but this way you should put many possibilities, such as if the month ends on the 28th, 29th, 30th, or 31st… I wanted something easy, such as moving to weekly and taking the time to close that candle… Is that possible?
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok