I am working on developing an ADXVMA strategy. I am using code from the ADXVMA to create the strategy. The following code throws an error, can you tell me why?
Add(new Plot(Color.Gray, PlotStyle.Line, "ADXVMA"));
It is throwing the following error:
The best overloaded method match for 'NinjaTrader.Strategy.StrategyBase.Add(NinjaTrader .Indicator.IndicatorBase)' has some invalid arguments
Argument '1': cannot convert from 'NinjaTrader.Gui.Chart.Plot' to 'NinjaTrader.Indicator.IndicatorBase'
Thank You.
Comment