---NT7 code
......
Data.Bar bar = (Bar)bars.Get(bars.Count - 1);
UpdateBar(bars, bar.Open, (close > bar.High ? close : bar.High), (close < bar.Low ? close : bar.Low), close, time, volume, isRealtime);
......
--NT8 code
.................
UpdateBar(bars,
// bars.GetOpen(bars.Count - 1), //no Open in NT8 ??????????
(close > bars.GetHigh(bars.Count - 1) ? close : bars.GetHigh(bars.Count - 1)), (close < bars.GetLow(bars.Count - 1) ? close : bars.GetLow(bars.Count - 1)), close,time, volume);
.....
How to convert? since Open is missing in NT8?
Comment