// Plot green if the LinReg is rising
// If slope > 30 then trend is up, paint LinReg Green
if (Slope(LinReg(Period), 5, 0) > 30)
{
// Connects the rising plot segment with the other plots
RisingPlot.Set(1, LinReg(Period)[1]);
// Adds the new rising plot line segment to the line
RisingPlot.Set(LinReg(Period)[0]);
}
The code line in bold doesn't compile and I get the following message (by the way, LinRegMultiplot is the name of the new indicator I am tryng to create.
No overload for method 'LinReg'MultiPlot' takes '1' arguments.
I'm stumped, cany anyone help?
Thanks
DaveN
Comment