Can you add Plots to strategy's in the same way that you add them to indicators...??
Cause I've added this line to my strategy code,
Add(new Plot(Color.FromKnownColor(KnownColor.SkyBlue), PlotStyle.Dot, "Plot8"));
and added the following to properties,
[Browsable(false)]
[XmlIgnore()]
public DataSeries Plot8
{
get { return Values[0]; }
}
on compile I'm getting a number of error's... but the first one reads like this,
The best overloaded method match for 'NinjaTrader.Strategy.StrategyBase.Add(NinjaTrader .Indicator.IndicatorBase)' has some invalid arguments
Any ideas what's going on here...??
Many Thanks
Comment