Result


Summary

The Result Series of the LinearRegressionRSquared Indicator

Syntax

public IndicatorDataSeries Result{ get; }

Example 1

private LinearRegressionRSquared rSquared;
protected override void OnStart()
{
    // initialize rSquared indicator
    rSquared = Indicators.LinearRegressionRSquared(MarketSeries.Close, 9);
}
protected override void OnTick()
{
    // Print the last value of rSquared indicator to the log
    Print("The current value of R Squared is {0}", rSquared.Result.LastValue);
}