On my first attempt I mistakenly used AddDataSeries instead of AddRenko simply because I was unaware of AddRenko. It worked fine.
Later I moved the strategy to another computer and it causes NT to hard crash.
I went back to my development computer and changed the AddDataSeries call to AddRenko but doing so causes the strategy to cause NT to be CPU bound and run memory utilization up without ending... the strategy never completes.
AddDataSeries(Instrument.FullName, new BarsPeriod { BarsPeriodType = BarsPeriodType.Renko, Value = seriesPeriodSwing}, "US Equities RTH"); AddRenko(Instrument.FullName, seriesPeriodSwing, MarketDataType.Last, "US Equities RTH", false);
Comment