myDataSeries.Set(((High[0] - Low[0])/2) + Low[0]);
myDataSeries1.Set((High[0] - Low[0]) + High[0]);
myDataSeries2.Set(Low[0] - (High[0] - Low[0]));
Plot0.Set(SMA(myDataSeries[0], myInput0));
Plot1.Set(Close[0]);
Plot2.Set(Close[0]);
What is the problem with this? This is the error code I'm getting.
The best overloaded method match for 'NinjaTrader.Indicator.SMA(NinjaTrader.Data.IDataS eries, Int) has some invalid arguments, specifically Argument 1 cannot covert form Double to IDataseries. What is double? What does that mean? How is it used? The online manual is, at best, vague.
Comment