Class PeriodlessMaximum
- Namespace
- FinanceSharp.Indicators
- Assembly
- FinanceSharp.dll
Identical to Maximum but without Period.
public class PeriodlessMaximum : ComparingIndicatorBase, IIndicator, IUpdatable
- Inheritance
-
PeriodlessMaximum
- Implements
- Inherited Members
- Extension Methods
Constructors
PeriodlessMaximum()
public PeriodlessMaximum()
PeriodlessMaximum(string)
Initializes a new instance of the Indicator class using the specified name.
public PeriodlessMaximum(string name)
Parameters
namestringThe name of this indicator
Methods
Comparer((long time, DoubleArray Array), (long Time, DoubleArray Array))
Compares current against input returning the new Current and CurrentTime values.
protected override (long Time, DoubleArray Array) Comparer((long time, DoubleArray Array) current, (long Time, DoubleArray Array) input)
Parameters
current(long time, DoubleArray Array)The Current from the handling indicator.
input(long time, DoubleArray Array)The new input to compare against.
Returns
- (long time, DoubleArray Array)
The new Current and CurrentTime to set.