Problem with Time[-1] future time

 

Hello All

I forcast close price of next bar with ARMAX model but I can't show it in chart as a line.

Please, why does the attached indicator show me a number at future time ?

Or How to make a new bar to chart at future time?

Thanks a lot

tarokh

 

Time[-1] doesn't work

Use

Time[0] + numberOfSecondsIntoTheFuture;

Time[0]+10*Period()*60; // 10 bars into the future