How to achieve this look in MQL4 (offset forward on oscillator)

 

Hi

I have this oscillator coded in pine script (tradingview.com)


As you see I have 4 horizontal lines that dictates 4 different levels of some of my calculations, and beside that i have three dots that shows different conditions I am looking for. How to achieve these shifted lines forward (each one of them is a single value plotted many times in forward) and the dots in MQL 4? I know i can use price labels for the levels but that is not what i want.


thanks

 
Those objects were placed at Time[0]+n*PeriodSeconds() and must be moved each new bar.
 
William Roeder:
Those objects were placed at Time[0]+n*PeriodSeconds() and must be moved each new bar.

Thanks. That did the trick. I think I can handle the rest from here.