• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 profitabletrader306, Today, 12:00 AM
        0 responses
        2 views
        0 likes
        Last Post profitabletrader306  
        Started by marcelodelta, Yesterday, 08:28 PM
        2 responses
        11 views
        0 likes
        Last Post marcelodelta  
        Started by junkone, Yesterday, 09:06 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_Marco  
        Started by ferenc., Yesterday, 04:54 PM
        2 responses
        17 views
        0 likes
        Last Post ferenc.
        by ferenc.
         
        Started by rwilliam, Yesterday, 03:51 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_ShawnB  
        Working...
        X