When working with a standard price DataSeries (e.g. ^SP500), "Time[0]" references the time value of bar[0]. However, an indicator based on the DataSeries (e.g. SMA(^SP500, 10)) has no time values. Therefore, "Time[0]" equals 1 January 1800.
To restate, it is my understanding the indicator has no time values. This is OK in itself. However where an indicator based on an indicator requires time values an issue presents.
In an indicator on an indicator, how can I retrieve a useable Time[0]?
Is it possible to "look through" an indicator to its input DataSeries and retrieve its time values?
As always, thanks a bunch
Shannon
Comment