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 frankthearm, Today, 09:08 AM
        7 responses
        29 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by NRITV, Today, 01:15 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by maybeimnotrader, Yesterday, 05:46 PM
        5 responses
        25 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by quantismo, Yesterday, 05:13 PM
        2 responses
        17 views
        0 likes
        Last Post quantismo  
        Started by adeelshahzad, Today, 03:54 AM
        5 responses
        33 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X