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 f.saeidi, Today, 08:01 PM
        0 responses
        2 views
        0 likes
        Last Post f.saeidi  
        Started by Rapine Heihei, Today, 07:51 PM
        0 responses
        3 views
        0 likes
        Last Post Rapine Heihei  
        Started by frslvr, 04-11-2024, 07:26 AM
        5 responses
        96 views
        1 like
        Last Post caryc123  
        Started by algospoke, 04-17-2024, 06:40 PM
        6 responses
        49 views
        0 likes
        Last Post algospoke  
        Started by arvidvanstaey, Today, 02:19 PM
        4 responses
        11 views
        0 likes
        Last Post arvidvanstaey  
        Working...
        X