Returns the element in the series from the specified number of bars ago. LookBack(0) is the current value, LookBack(1) is the previous bar's value, etc.

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public T LookBack(
	int nBars
)
Visual Basic
Public Function LookBack ( 
	nBars As Integer
) As T
Visual C++
public:
T LookBack(
	int nBars
)
F#
member LookBack : 
        nBars : int -> 'T 

Parameters

nBars
Type: System..::..Int32
The number of bars to look back.

Return Value

Type: T
The element from the specified number of bars ago.

See Also