Table of Contents

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
IPersistable
ICloneable<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 RateOfChange
longRoc RateOfChange
rsi RelativeStrengthIndex
emaFast ExponentialMovingAverage
emaSlow ExponentialMovingAverage
sma SimpleMovingAverage

Properties

Measure

public override IndicatorMeasures Measure { get; }

Property Value

IndicatorMeasures

Methods

OnProcess(IIndicatorValue)

To handle the input value.

protected override IIndicatorValue OnProcess(IIndicatorValue input)

Parameters

input IIndicatorValue

The input value.

Returns

IIndicatorValue

The resulting value.