Adds a new bar to the indicator.

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

Syntax

C#
void AppendBar(
	BarData bar
)
Visual Basic (Declaration)
Sub AppendBar ( _
	bar As BarData _
)
Visual C++
void AppendBar(
	BarData^ bar
)

Parameters

bar
Type: RightEdge.Common..::.BarData
The new bar

Remarks

This method adds a bar to the series of bars the indicator value is calculated for, and updates the indicator values. This is used in realtime or simulation when a new bar comes in so that the whole series does not necessarily have to be recalculated.

See Also