Class CompositeMomentum
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Composite Momentum indicator.
[Display(ResourceType = typeof(LocalizedStrings), Name = "CM", Description = "CompositeMomentum")]
public class CompositeMomentum : BaseComplexIndicator, IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
CompositeMomentum
- Implements
-
IPersistableICloneable<IIndicator>
- Derived
- Inherited Members
- Extension Methods
Constructors
CompositeMomentum()
Initializes a new instance of the CompositeMomentum.
public CompositeMomentum()
CompositeMomentum(RateOfChange, RateOfChange, RelativeStrengthIndex, ExponentialMovingAverage, ExponentialMovingAverage, SimpleMovingAverage)
Initializes a new instance of the CompositeMomentum.
public CompositeMomentum(RateOfChange shortRoc, RateOfChange longRoc, RelativeStrengthIndex rsi, ExponentialMovingAverage emaFast, ExponentialMovingAverage emaSlow, SimpleMovingAverage sma)
Parameters
shortRoc
RateOfChangelongRoc
RateOfChangersi
RelativeStrengthIndexemaFast
ExponentialMovingAverageemaSlow
ExponentialMovingAveragesma
SimpleMovingAverage
Properties
Measure
public override IndicatorMeasures Measure { get; }
Property Value
Methods
OnProcess(IIndicatorValue)
To handle the input value.
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
input
IIndicatorValueThe input value.
Returns
- IIndicatorValue
The resulting value.