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 helpwanted, Today, 03:06 AM
        1 response
        5 views
        0 likes
        Last Post sarafuenonly123  
        Started by Brevo, Today, 01:45 AM
        0 responses
        7 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        5 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        242 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Working...
        X