Retrieve bars beyond LastValue?
Created at 04 Nov 2013, 22:36
Retrieve bars beyond LastValue?
04 Nov 2013, 22:36
I know we can use MarketSeries.Close.LastValue to obtain the close value last bar, but how do we get the value of the close, say 5 bars ago?
Replies
Spotware
02 Jan 2014, 10:17
RE: RE:
Now you can access it easier like this:
MarketSeries.Close.Last(5);
/api/reference/dataseries/last-870a
Cerunnos said:
Hyperloop said:
I know we can use MarketSeries.Close.LastValue to obtain the close value last bar, but how do we get the value of the close, say 5 bars ago?
Index = MarketSeries.Close.Count;
... MarketSeries.Close[Index-5]
@Spotware
Cerunnos
05 Nov 2013, 08:29
RE:
Hyperloop said:
Index = MarketSeries.Close.Count;
... MarketSeries.Close[Index-5]
@Cerunnos