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 burtoninlondon, Today, 12:38 AM
              0 responses
              5 views
              0 likes
              Last Post burtoninlondon  
              Started by AaronKoRn, Yesterday, 09:49 PM
              0 responses
              13 views
              0 likes
              Last Post AaronKoRn  
              Started by carnitron, Yesterday, 08:42 PM
              0 responses
              11 views
              0 likes
              Last Post carnitron  
              Started by strategist007, Yesterday, 07:51 PM
              0 responses
              13 views
              0 likes
              Last Post strategist007  
              Started by StockTrader88, 03-06-2021, 08:58 AM
              44 responses
              3,982 views
              3 likes
              Last Post jhudas88  
              Working...
              X