View Full Version : Problems with 1440min charts
Rollins
02-27-2008, 02:55 AM
Hi,
there are 2 problems with 1440 min charts in the current beta 9:
- the workspace sometimes resets the days back to 1 after a fresh start
- right clicking on a 1440 min chart may result in a crash, might be depend on having the chart in a workspace and a fresh start
Hope this can be reproduce, sometimes these bugs(?) appear and sometimes not.
Thanks for your efforts.
NinjaTrader_Ray
02-27-2008, 06:53 AM
What do you mean by resets back to 1? Do you mean in Format Data Series the last date is 1 day ago?
If yes, does this happen mid day? Meaning, you have a chart with real-time data coming in, then you restart and the last day is now yesterday?
NinjaTrader_Dierk
02-27-2008, 06:58 AM
On the crash: please mail me logs and traces and timestamp on when this happened. Thanks
Rollins
02-27-2008, 08:18 AM
Funny happened again when I experimented with the workspace to reproduce the problem. The odd thing was the charts I added were fine but all the other charts didn't display anything.
Probably this is related to me running NinjaTrader for more than 24hrs sometimes.
The days back was set to 1, however the chart didn't have any data from the db, didn't start with today's session but the time I loaded the chart.
Here's what I got from the trace file:
2008-02-26 21:00:41:562 in OnUnhandledThreadException
2008-02-26 21:00:41:640 ********* exception trapped *********
2008-02-26 21:00:41:640 startDate > lastDate
2008-02-26 21:00:41:640 at NinjaTrader.Gui.Chart.ChartControl.PeriodSettings. .ctor(PeriodType periodType, Int32 periodValue, Int32 daysBack, DateTime lastDate)
at NinjaTrader.Gui.Chart.ChartControl.GetPeriodSettin gsFromChart()
at NinjaTrader.Gui.Chart.ChartControl.OnContextMenuPo pup(Object sender, EventArgs e)
at System.Windows.Forms.ContextMenu.OnPopup(EventArgs e)
at System.Windows.Forms.ContextMenu.Show(Control control, Point pos, Int32 flags)
at System.Windows.Forms.ContextMenu.Show(Control control, Point pos)
at System.Windows.Forms.Control.WmContextMenu(Message& m, Control sourceControl)
at System.Windows.Forms.Control.WmContextMenu(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2008-02-26 21:00:46:937 Data.Bars.ProcessEventArgsInThreadContext, exception caught: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
2008-02-26 21:00:50:687 Data.Bars.ProcessEventArgsInThreadContext, exception caught: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
2008-02-26 21:00:52:937 Data.Bars.ProcessEventArgsInThreadContext, exception caught: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
2008-02-26 21:00:53:187 Gui.WorkspaceOptions.ApplicationExit
2008-02-26 21:00:55:750 Data.Bars.ProcessEventArgsInThreadContext, exception caught: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
2008-02-26 21:00:56:875 Data.Bars.ProcessEventArgsInThreadContext, exception caught: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
2008-02-26 21:00:57:468 Gui.Globals.AppExit: shutting down ATI server
2008-02-26 21:00:57:468 Gui.Globals.AppExit: shutting down server
2008-02-26 21:00:57:468 Shutting down data server
One other thing, the beta loads several workspace at start up, however they are not in the workspaces list. If I open the workspace for the first time it contains twice as many charts as it should.
NinjaTrader_Dierk
02-27-2008, 08:28 AM
Right, we are working on that. Thanks for reporting.
NinjaTrader_Dierk
02-27-2008, 09:10 AM
This is a bug which will be fixed with next beta. Sorry for the inconvenience.
Rollins
02-27-2008, 07:16 PM
Thanks for looking into it Dierk.
Taters
03-04-2008, 09:42 AM
I see someone else is having an issue w 1440 m charts so I'll post to this thread.
I traced daily NT crashes (program would hang on startup) to the 1440 chart being unable to load. I was able to look at the chart parameters in an XML editor and found that the "Days Back" parameter was showing a negative number! I edited the parameter in XML and the chart and workspace opened- Yay- but I have to manually edit this in XML every day to open NT now- Boo. Any guess why only this one chart is often filling in a spurious negative number in the days back field?? No other chart exhibit this problem. Oh yes- before the crashing situation started I was having this issue expressed in post #1 about 1440m charts only showing 1 day of data, or rather, scrunching all the data that should have been spread across multiple days into 1 bar on startup, and I would manually reset the days-back param in the Format Data Series window...
Thanks,
Taters
chart as it should look:
1892
corrupt code in XML viewer:
1893
NinjaTrader_Dierk
03-04-2008, 09:45 AM
Please install latest 6.5.0.10 which we justed released, delete your erroneous workspace files and give it a fresh start. Thanks
Taters
03-04-2008, 09:48 AM
Thanks Dierk:)