Quick fix: find this method in ChartHelper and comment out lines as indicated: private DateTime CalcTimeOutofBounds(int barIdx) { _debug = ""; DateTime retTime = DateTime.MinValue; int lastBarIndex = _Bars.Count - 1; // TimeSpan sessionEndTime = _Bars.GetSessionBar(0).Time.TimeOfDay; // TimeSpan lastTime = _Bars.Get(lastBarIndex).Time.TimeOfDay; // DateTime sessionEndTime = _Bars.GetSessionBar(0).Time.TimeOfDay; // DateTime lastTime = _Bars.Get(lastBarIndex).Time.TimeOfDay; // // TimeSpan rest = sessionEndTime.Subtract(lastTime); // int numBarsToCloseSession = (int)Math.Round((rest.TotalMinutes / _Bars.Period.Value), 0); int numBars = barIdx - lastBarIndex; retTime = _Bars.Get(lastBarIndex).Time.Add(new TimeSpan(0, numBars * _Bars.Period.Value, 0)); - palinuro
Folks, I have beginner question. How to import and/or compile that code into NT7.0.0.23? Thank you, St.
With 6.5, click on the dropdown next to the instrument drop down along the top of your chart... the current chart I have displayed is a 5 minute chart... the drop down says "5Min" when I activate this dropdown I see all the types of charts NT will display Minute, Second, Tick, Volume, Range, etc... you can get even more control by using the last item of this dropdown named "Format Data Series" In NT 7, look for "Format Data Series" in the chart properties.... it is here you can get to Volume, Range, and Tick bars HTH -T