I'm trying the following:
doubleValue = SMA(mySeries, myLength);
I'm getting the error:
Cannot implicitily convert type 'NinjaTrader.Indicator.SMA' to 'double'
Is this proper usage of SMA? If not, what is the correct way to get the SMA in a strategy?
Thanks,
Folls

Comment