I use the indicator to extend rectangle to right but the problem is it only works when a new tick happens. Therefore when markets are off it will not extend. Can anyone help me fix this?
Thanks in advance
You must use OnTimer() event in your source.
Please see help of MQL4.