Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

What does compiling do?

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

    What does compiling do?

    Hi,

    i am writing a ninjascript and i needed more than 10 sets in the wizard. so i unlocked the code and finished out the sets i needed. do i now need to compile this strategy script?

    what does compiling do?

    Thanks

    eric

    #2
    Hi ericgood,

    Thank you for your post.

    Yes, you can compile the code in various ways.
    1. Press the F5 key
    2. Right click and select Compile.
    3. Use the compile icon at the top menu bar.

    Compiling simply gathers all the information from the code (and in NinjaTrader, from all the indicators and strategies at once), and prepares (translates) it to be used in NinjaTrader. After compiling, any errors in the code will be highlighted at the bottom of the code entry area.
    TimNinjaTrader Customer Service

    Comment


      #3
      ok thanks. and this needs to be compiled first before it will work, right?

      also, another question. i started with the wizard and added a couple of sets. then i unlocked the code and added more stuff in the condition section of the code. i did not change anything else in the code, only added more conditions. would i need to change anything else in the code?

      thanks.

      eric

      Comment


        #4
        Hi ericgood,

        Yes, compiling is required for the changes to take effect.

        It depends, if you added any variables or plots you may need to. Let me know if you have issues with the code and we can trouble shoot.
        TimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by andrewtrades, Today, 04:57 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by chbruno, Today, 04:10 PM
        0 responses
        3 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        436 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        6 views
        0 likes
        Last Post FAQtrader  
        Started by rocketman7, Today, 09:41 AM
        5 responses
        19 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X