Calculates indicator values using other series as inputs.

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


public interface ISeriesCalculator : ISeries
Visual Basic
Public Interface ISeriesCalculator
	Inherits ISeries
Visual C++
public interface class ISeriesCalculator : ISeries
type ISeriesCalculator =  
        interface ISeries


This interface is used to calculate indicator values using other series as inputs. If you are writing an indicator that bases its calculation on more than one BarElement, you should consider using the IIndicator interface. In either case, you will also need to write a class implementing the IIndicatorPlugin interface for your indicator to show up in the RightEdge indicator list.

Generally, you will want to derive from the SeriesCalculatorBase, SeriesCalculatorBaseSimple, or SeriesCalculatorBaseWithValues classes when implementing this interface. These classes handle most of the base functionality for this interface.

You should add an ConstructorArgument attribute to your indicator constructor for each argument the constructor takes. You also should add a SeriesInputAttribute attribute to your class for each input your indicator takes. This is used to let the users set up the indicator from the user interface.

See Also