Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problems with 1440min charts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problems with 1440min charts

    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.

    #2
    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?
    RayNinjaTrader Customer Service

    Comment


      #3
      On the crash: please mail me logs and traces and timestamp on when this happened. Thanks

      Comment


        #4
        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.

        Comment


          #5
          Right, we are working on that. Thanks for reporting.

          Comment


            #6
            This is a bug which will be fixed with next beta. Sorry for the inconvenience.

            Comment


              #7
              Thanks for looking into it Dierk.

              Comment


                #8
                Corrupt data in 1440 minute charts causing daily crash

                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:
                Click image for larger version

Name:	1440 chart view.gif
Views:	1
Size:	88.7 KB
ID:	848681

                corrupt code in XML viewer:
                Click image for larger version

Name:	1440 xml view.gif
Views:	1
Size:	18.1 KB
ID:	848682
                Last edited by Taters; 03-04-2008, 10:46 AM.

                Comment


                  #9
                  Please install latest 6.5.0.10 which we justed released, delete your erroneous workspace files and give it a fresh start. Thanks

                  Comment


                    #10
                    You guys sure reply fast...

                    Thanks Dierk

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                    0 responses
                    602 views
                    0 likes
                    Last Post Geovanny Suaza  
                    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                    0 responses
                    347 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by Mindset, 02-09-2026, 11:44 AM
                    0 responses
                    103 views
                    0 likes
                    Last Post Mindset
                    by Mindset
                     
                    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                    0 responses
                    559 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by RFrosty, 01-28-2026, 06:49 PM
                    0 responses
                    558 views
                    1 like
                    Last Post RFrosty
                    by RFrosty
                     
                    Working...
                    X