Converts the lookback index from one frequency to another.

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

Syntax

C#
public int ConvertLookBack(
	int sourceLookBack,
	Frequency sourceFrequency,
	Frequency destFrequency
)
Visual Basic
Public Function ConvertLookBack ( 
	sourceLookBack As Integer,
	sourceFrequency As Frequency,
	destFrequency As Frequency
) As Integer
Visual C++
public:
int ConvertLookBack(
	int sourceLookBack, 
	Frequency^ sourceFrequency, 
	Frequency^ destFrequency
)
F#
member ConvertLookBack : 
        sourceLookBack : int * 
        sourceFrequency : Frequency * 
        destFrequency : Frequency -> int 

Parameters

sourceLookBack
Type: System..::..Int32
Lookback index.
sourceFrequency
Type: RightEdge.Common..::..Frequency
Source frequency
destFrequency
Type: RightEdge.Common..::..Frequency
Destination frequency.

Return Value

Type: Int32
index of destination frequency bar lookback

See Also