Returns a bar with OHLC values corresponding to the ask price.

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

Syntax

C#
public static BarData GetAskBar(
	BarData bar
)
Visual Basic (Declaration)
Public Shared Function GetAskBar ( _
	bar As BarData _
) As BarData
Visual C++
public:
static BarData^ GetAskBar(
	BarData^ bar
)

Parameters

bar
Type: RightEdge.Common..::.BarData
A bar where the Ask corresponds to the ask price at close.

Return Value

A bar with OHLC values corresponding to the ask price.

Remarks

The difference between Ask and Close in bar is used to calculate the adjusted OHLC values for the returned bar.

See Also