Delegate CompositeIndicator.IndicatorComposer
- Namespace
- FinanceSharp.Indicators
- Assembly
- FinanceSharp.dll
Delegate type used to compose the output of two indicators into a new value.
public delegate IndicatorResult CompositeIndicator.IndicatorComposer(IUpdatable left, IUpdatable right)
Parameters
leftIUpdatableThe left indicator
rightIUpdatableThe right indicator
Returns
- IndicatorResult
And indicator result representing the composition of the two indicators
- Extension Methods
Remarks
A simple example would be to compute the difference between the two indicators (such as with MACD)
(left, right) => left - right