Summary

Returns true, if the last value of a dataseries is greater than the previous value. Otherwise, false.

Syntax

IsRising(DataSeries series)

Parameters

Name Description

Example

SimpleMovingAverage sma;

protected override void Initialize()
{
    sma = Indicators.SimpleMovingAverage(source, period);
}

public override void Calculate(int index)
{
    if (Functions.IsRising(sma.Result))
    {
        //Do something
    }
}