Cannot implicitly convert type 'NinjaTrader.Indicator.SMA' to 'double'
The help menu says the SMA function accepts a dataseries (BarsArray) and returns a double (MovingAverage). What am I doing wrong?
// Moving Averages double[,] MovingAverage=newdouble[3,7]; // store values MovingAverage[0,0]=SMA(BarsArray[0],20);
Comment