private Series<double> MS_Value;
.....
.....
.....
if(condition1)
MS_Value = DonchianChannel1.Mean;
else
MS_Value = KAMA1; //this line has the error
......
......
CS0029 => Cannot implicitly convert type 'NinjaTrader.NinjaScript.Indicators.KAMA' to 'NinjaTrader.NinjaScript.Series<double>'

Comment