Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Ninja Script File

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

    Custom Ninja Script File

    Dear NT,

    I am trying to import a file, but I keep getting an error message saying I have a programming error. These errors must be resolved before I cam import.

    Please advise.

    #2
    Please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader always compiles all indicators and strategies - not just one. This is done to give you the highest runtime performance possible.
    • Open NinjaTrader
    • From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
    • Select an indicator and double click on it.
    • A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
    • At the bottom of the window a new section will appear where you can find the error locations.
    • From there you have the option to comment out offending code sections, remove the complete indicator or debug it to be able to compile again.
    • If you are unsure as to what the error is indicating, please send me a screenshot of the error with the name and description fields clearly readable.


    To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CRTL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.

    We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip on our forums - http://www.ninjatrader.com/support/f...ead.php?t=4678
    MatthewNinjaTrader Product Management

    Comment


      #3
      Hi Matt,

      I've attached the screenshot. When I search for the actual file that has the issue it has a lock on it.
      Attached Files

      Comment


        #4
        Here is the revised screenshot
        Attached Files

        Comment


          #5
          Hello,

          Can you please download the attached @Swing indicator to (My) Documents\NinjaTrader 7\bin\custom\indicators

          Once downloaded, please recompile and let me know if further errors are received.
          Attached Files
          Last edited by NinjaTrader_Matthew; 07-29-2012, 08:33 PM.
          MatthewNinjaTrader Product Management

          Comment


            #6
            Matt,

            Thanks for your help...Everything went well.

            Comment


              #7
              Great, glad that worked!
              MatthewNinjaTrader Product Management

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by jeronymite, 04-12-2024, 04:26 PM
              3 responses
              44 views
              0 likes
              Last Post jeronymite  
              Started by Barry Milan, Yesterday, 10:35 PM
              7 responses
              20 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by AttiM, 02-14-2024, 05:20 PM
              10 responses
              179 views
              0 likes
              Last Post jeronymite  
              Started by ghoul, Today, 06:02 PM
              0 responses
              9 views
              0 likes
              Last Post ghoul
              by ghoul
               
              Started by DanielSanMartin, Yesterday, 02:37 PM
              2 responses
              13 views
              0 likes
              Last Post DanielSanMartin  
              Working...
              X