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 ewgewhewhew, Today, 01:52 PM
        0 responses
        2 views
        0 likes
        Last Post ewgewhewhew  
        Started by ozziyhtomit, Today, 01:37 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by hellboy78, Today, 12:44 PM
        3 responses
        10 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by Option Whisperer, Today, 12:19 PM
        6 responses
        17 views
        0 likes
        Last Post Option Whisperer  
        Started by sdauteuil, Today, 11:30 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Working...
        X