Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Script Programming Errors

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

    Script Programming Errors

    Hello Ninjas,

    I'm trying to add a script but keep on getting the following error message (see attached). I don't know how to find what script files have programming errors so that they can be corrected.

    Can you help?

    Cheers

    Carlton
    Attached Files

    #2
    Carlton,

    Open the editor and hit f5 to compile, it will show you where the error is. Double click the error message and it will take you to that file and the error.

    VT

    Comment


      #3
      Hi VT,

      How do I open the 'Editor'?

      Cheers

      Comment


        #4
        Hello carlton,

        Thank you for your post.


        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 compiles all indicators and strategies- not just one.

        • 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 were you can find the error locations.
        • From there you have the option to remove the indicator or debug it.

        Let me know if this does the trick for you. Please let us know the exact error messages you're seeing within the NinjaScript compile and we can provide the next steps. A screenshot will be helpful for us to identify.

        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.
        CameronNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Jonafare, 12-06-2012, 03:48 PM
        5 responses
        3,986 views
        0 likes
        Last Post rene69851  
        Started by Fitspressorest, Today, 01:38 PM
        0 responses
        2 views
        0 likes
        Last Post Fitspressorest  
        Started by Jonker, Today, 01:19 PM
        0 responses
        2 views
        0 likes
        Last Post Jonker
        by Jonker
         
        Started by futtrader, Today, 01:16 PM
        0 responses
        8 views
        0 likes
        Last Post futtrader  
        Started by Segwin, 05-07-2018, 02:15 PM
        14 responses
        1,792 views
        0 likes
        Last Post aligator  
        Working...
        X