StrategyBasedIndicator Class

A base class for indicator series with simple calculations that separates the calculation responsibility from the other responsibilities of the financial series, this enables easier unit testing and decoupling of individual calculation strategies.
Public MustInherit Class StrategyBasedIndicator 
   Inherits FinancialIndicator
public abstract class StrategyBasedIndicator : FinancialIndicator 
A contract is defined between the financial series and these simple indicator calculations detailing the data which the series agrees to provide the simple indicator calculations, this contract is defined by FinancialCalculationDataSource. If more complex interactions are needed between the indicator calculation and the series, the indicators should instead derive from FinancialIndicator directly, or some derivative other than StrategyBasedIndicator

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also