Trying to add a secondary data series that can be altered outside the code in the backtest or optimize windows. The below compiles but errors on execution
Add(PeriodType.Minute,time);
where time is a private int
privateint time = 30;
Error i recieve in output window.
**NT** Error on getting/setting property 'Time' for strategy 'BollRSIMultiTime/8263488a1cce4d20b41326a4ec3eaf96': Object of type 'NinjaTrader.Indicator.TimeSeriesHelper' cannot be converted to type 'System.Int32'.
Cheers

Comment