MovingAverageCrossover
StockSharp.Algo.Indicators
Moving Average Crossover indicator.
Erbt von: BaseIndicator
Konstruktoren
MovingAverageCrossover()
Initializes a new instance of the MovingAverageCrossover.
MovingAverageCrossover(SimpleMovingAverage, SimpleMovingAverage)
Initializes a new instance of the MovingAverageCrossover.
- fastMa
- Fast moving average.
- slowMa
- Slow moving average.
Eigenschaften
LongPeriod : int
Longest Moving Average period.
Measure : IndicatorMeasures
IndicatorMeasures.
NumValuesToInitialize : int
Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.
ShortPeriod : int
Shortest Moving Average period.
Methoden
OnProcess(IIndicatorValue) : IIndicatorValue
To handle the input value.
- input
- The input value.
Rückgabe: The resulting value.
Reset()
Reset state.