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

How to compile in Ninja Script editor

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

    How to compile in Ninja Script editor

    I am looking at code in ninja script editor an I want to make changes to the code. How do I compile after making the changes.

    #2
    Hello JTizz,

    Thanks for your post.

    After making changes, right mouse click on the text and select "Compile" .

    Alternately, at the top of the editor next to the red bar that shows "Ninjascript editor", you can click on the 13th icon from the left.

    Here is some information you may want to review about the editor and how to handle errors:




    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Thx for that info. If I compile will it compile everthing in the editor file and create errors?

      Comment


        #4
        Hello JTizz,

        Thanks for your reply.

        Correct, when it compiles all files will be compiled at once. An error, in any file, will show up in the file you have open at the bottom and as shown in the second link in post#2, the file name on the left column is where the errors. The errors, if any, may not even be in the open file.


        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Hi! I can't understand it. I made changes to the indicator code, compiled it, but there were no changes in the indicator on the chart. I updated the indicator on the chart, but no changes have occurred. What am I doing wrong?

          Comment


            #6
            Hello Sed777,

            Thank you for your post.

            Try removing the indicator from the chart, then re-adding it again. Are you still seeing the same behavior?

            Please let me know if you have any questions.​
            Gaby V.NinjaTrader Customer Service

            Comment


              #7
              Everything worked out. Thanks!

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by skorpn, Today, 01:28 AM
              0 responses
              5 views
              0 likes
              Last Post skorpn
              by skorpn
               
              Started by ETFVoyageur, Today, 12:52 AM
              0 responses
              6 views
              0 likes
              Last Post ETFVoyageur  
              Started by Board game geek, Yesterday, 02:20 AM
              2 responses
              21 views
              0 likes
              Last Post Board game geek  
              Started by jackiegils, Yesterday, 11:05 PM
              0 responses
              7 views
              0 likes
              Last Post jackiegils  
              Started by cre8able, 05-09-2024, 09:15 PM
              2 responses
              17 views
              0 likes
              Last Post cre8able  
              Working...
              X