How to reproduce:
Create a modified SMA indicator by saving SMA as SMATest.
As the first line in OnBarUpdate of SMATest, insert the following line:
Print("SMATest, CurrentBar = " + CurrentBar.ToString() + " , Time[0] = " + Time[0].ToString() + " , Input[0] = " + Input[0].ToString());
Open a new chart. Open the Output window.
Apply the SMATest indicator, using the SMA indicator as the Input series.
In the Output window, Time[0] for every bar is 1/1/1800 12:00:00 AM

Comment