Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT recompiling everything regardless if there were any changes.

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

    NT recompiling everything regardless if there were any changes.

    Why does NT starts recompiling something when I try to add a strategy or an indicator a chart? I think it also does this when I try to open a strategy analyzer. If there hasn't been any changes to the source code, why does it need to recompile anything? I actually think it recompiles all the strategies and indicators regardless of if they have been changed and since I have a lot of them it takes forever. Could you implement some way of checking if a recompile is actually needed?

    Thanks,
    Tim

    #2
    Hello Tim,

    Can you please tell me how you determined that NinjaScript files are compiled when a strategy or indicator is added to a chart or when opning a Strategy Analyzer? I do not experience this on my end when I test it. What steps do you perform when you notice this?

    Comment


      #3
      NT becomes unresponsive, I can see ninjatrader.exe and csc.exe using CPU. This happens after each time I make a change and recompile an indicator or strategy. Is it really necessary for NT to recompile anything after that?

      Comment


        #4
        Unfortunately if you compile an indicator or strategy, all NinjaScript files will be compiled. This is as expected.

        I will forward your suggestion to implement a way to check if the compiling of all NinjaScript files is required when you compile 1 indicator or strategy to development to put it on the list of future considerations. Thank you for your feedback.

        Comment


          #5
          Unfortunately this will not be possible. The NinjaScript environment will need to be generated as a whole.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          152 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          305 views
          0 likes
          Last Post CaptainJack  
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          244 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          345 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          176 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Working...
          X