Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninjatrader crashes at a specific time

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

    Ninjatrader crashes at a specific time

    Hi,
    I'm in the process of testing Ninjatrader, and so far I'm quite pleased,in spite of some annoying but overall minor performance issues.

    Now, the reasons for this thread is that Ninjatrader shows some weird behaviour that I can't really comprehend.

    Every day at 6 am, accurate on the second, the Ninjatrader software stops responding and Freezes up so that I've to forcibly close and restart it. I've testet it on 2 different PCs. Both use Windows 7 but are on different networks with different ISPs. And dont have any other applications running (that I know of) that could cause this.

    I'm wondering if it could be some Windows 7 issue ?

    #2
    Hello Landiron,

    Thank you for your post.

    We have not had reports from other users with issues on Windows 7.

    Can you please tell me which version of NinjaTrader you are using, NT V6.5.1000.19 or NT V7.0.1000.4? You can check this under Help--> About.


    Are you running any custom indicators or strategies at this time? Do you get any errors on the Log tab of the Control Center around this time? If so, what do these errors report?

    Do you run any anti-virus or automatic backup software?

    I look forward to assisting you further.
    MatthewNinjaTrader Product Management

    Comment


      #3
      I'm using V7.0.1000.4, and running 2 or 3 custom indicators and Ninjatrader in simulation modus.

      I'll try to uninstall some indicators and my Anti Virus software and check if something changes.
      -----------------------

      Well, but since today I got another, weird bug that prevents me from using strategies at all.

      For some reason Ninjatrader always seems to think that I have an open "long" Trade at a specific position when I activate a strategy.

      Thus the strategy is yellow/on hold as long as I've "Wait until Flat before executing live" checked on under the options/strategies/Ninjascript tab.

      If I change it to "Immediately submit live working historical order" my strategy starts working and changes to green, but immediatly places an Take profit order for this "phantom trade" as specified in my strategy.

      At the same time my NT control center still shows the unrealized loss/profit of the aforementioned phantom Trade, while my Dynamic SuperDOM shows no ongoing trade like it should be.

      Everything I tried failed so far,"Flatten everything" / closing all orders disables the strategy, re-enabling it lets it places a new take profit order since this phantom trade still seems to be there.

      Resetting the Sim account, even uninstalling the software -> deleting all data in "my documents folder" -> reinstalling Ninjatrader and starting it fresh also helps nothing.

      Fresh Ninjatrader install + random improvised strategy and the same error
      on 2 different PCs since today.

      I really can't comprehend whats going on
      Last edited by Landiron; 04-01-2011, 09:09 AM.

      Comment


        #4
        Hello Landiron,

        When the strategy is started, it is run against historical data and produces a strategy position. This position is not the same as an account position. For background on this please see this link.

        You may consider setting your strategy to sync, which produces an order to your account that matches the strategy position. See here for help with syncing.

        You can also consider running the strategy on live data only. This will mean your strategy always starts in a flat state, ready to take the first signal. To do this, add the following line at the top of the OnBarUpdate() method:
        if (Historical) return;
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        75 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        45 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        26 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        62 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X