Summary

Returns Linear Regression RSquared indicator instance.

Syntax

LinearRegressionRSquared(DataSeries source, int periods)

Parameters

Example

//...
private LinearRegressionRSquared lrrs;
//...
protected override void OnStart()
{
    lrrs = Indicators.LinearRegressionRSquared(Source, lrrsperiod);
}
protected override void OnTick()
{
    Print("{0}",lrrs.Result.LastValue);
}
//...