Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to remove _tmpStrategy reference

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

    How to remove _tmpStrategy reference

    I was in the middle of compiling a strategy when NinjaTrader 8 locked up. I had to kill it with the task manager. After restarting, NT cannot be compiled.

    I cannot open the strategy in the script editor or builder. I tried to disable or remove the strategy that was being compiled when the system hung. This produces a message that says it cannot be removed because it is referenced by _tmpStrategy.

    I have restarted NT and even rebooted my machine but it continues to give the same error.

    What should I do?

    P.S. I run NinjaTrader on a Mac using Parallels.

    #2
    Hello cupir2,

    Thank you for the post, and welcome to the NinjaTrader forum.

    Please navigate to the following directory:

    ..\Documents\NinjaTrader 8\bin\Custom

    Once there, go inside of the Strategies folder and move the problem strategy to your desktop (or somewhere not within the NinjaTrader 8 folder).

    After you do this, you should be able to launch NinjaTrader again and compile.

    Please make sure that you have parallels configured correctly as well.

    If you have not already, please make sure that you turn off file sharing with the Mac using these steps:

    Configuring NinjaTrader for Parallels:
    1. Start Parallels and select your virtual machine
    2. Press the "Configure" button on the top
    3. Under "Options", select "Sharing"
    4. Uncheck "Share Mac" under "Share Mac User Folders with Windows"
    5. Press "OK" and start the virtual machine


    Please let me know if I can assist further.
    Last edited by NinjaTrader_ChrisL; 08-31-2018, 08:06 AM.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Hi Chris,
      Thanks for your help. Regarding file sharing, for other applications I generally leave file sharing on. What are the dangers of having file sharing enabled? Are there user errors to beware of or is the danger from a system process?

      Thanks

      Comment


        #4
        Hello cupir2,

        Thank you for the follow-up.

        Using the file sharing can lead to unexpected errors in NinjaTrader, it is a software interaction error and is not caused by the user. Running on Parallels is not officially supported, so you must turn off file sharing with the Mac side of the PC to avoid any unhandled exceptions that might occur. Were you able to clear the compiling lock up by taking the aforementioned steps?

        I look forward to your reply.
        Chris L.NinjaTrader Customer Service

        Comment


          #5
          Parallels & File Sharing

          Thanks for the info. I will disable File Sharing while running Ninja Trader.

          You're guidance for my previous issue worked. Thanks again.

          Ken

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by wzgy0920, 04-20-2024, 06:09 PM
          2 responses
          27 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, 02-22-2024, 01:11 AM
          5 responses
          32 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, 04-23-2024, 09:53 PM
          2 responses
          49 views
          0 likes
          Last Post wzgy0920  
          Started by Kensonprib, 04-28-2021, 10:11 AM
          5 responses
          193 views
          0 likes
          Last Post Hasadafa  
          Started by GussJ, 03-04-2020, 03:11 PM
          11 responses
          3,235 views
          0 likes
          Last Post xiinteractive  
          Working...
          X