Gets the Frequency object for a given symbol and bar length.

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

Syntax

C#
public Frequency GetFrequency(
	Symbol symbol,
	TimeSpan barLength
)
Visual Basic
Public Function GetFrequency ( 
	symbol As Symbol,
	barLength As TimeSpan
) As Frequency
Visual C++
public:
Frequency^ GetFrequency(
	Symbol^ symbol, 
	TimeSpan barLength
)
F#
member GetFrequency : 
        symbol : Symbol * 
        barLength : TimeSpan -> Frequency 

Parameters

symbol
Type: RightEdge.Common..::..Symbol
The Symbol.
barLength
Type: System..::..TimeSpan
TimeSpan representing the desired bar length.

Return Value

Type: Frequency
Frequency object.

Remarks

This overload takes a BarLength parameter. The time-based frequency plugin (TimeFrequency will be used.

See Also