Line from x GMT to Y GMT candle close indicator

Hello!

Does anyone have or know how to write such indicator. It should draw trend line on chart from x time candle close to y time candle close.

Thanks!



You cn probably do it in the same way that the ZigZag Indicator does it.
Thanks! I thought it was allready made.