• 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

Strategy Builder won't open (Uncompalible NinjaScript'

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

    Strategy Builder won't open (Uncompalible NinjaScript'

    I've never opened the Strategy Builder, but today when I tried opening it, it says "NinjaScript must be in a compilable state to create or edit Strategies. please use the NinjaScript Editor to resolve compilation issues. Contact us at [email protected] if you need assistance."

    How can I fix this?

    Thanks

    #2
    Hello,

    Thank you for posting to the forums.

    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 always compiles all indicators and strategies - not just one. This is done to give you the highest runtime performance possible.

    For NinjaTrader 7:

    Open NinjaTrader
    From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator

    Select ANY indicator and double click on it (we need only to open and compile one script to see all compile errors for all files).

    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 where you can find the error locations.

    From there you have the option to comment out offending code sections, remove the complete indicator or debug it to be able to compile again.

    For NinjaTrader 8:

    Open NinjaTrader
    From the Control Center select the New menu--> select NinjaScript Editor

    Double click on the Indicators folder--> then double click on any of the indicators

    Once the indicator code is in view right click in the window and select Compile to compile all NinjaScript objects.

    At the bottom of the NinjaScript Editor window, a new section will appear where you can find the error locations.

    You can exclude the file referenced in the editor by double clicking on the appropriate object type on the right of the NinjaScript Editor window. This will expand the object type folder. You can then select the file with a left click--> right click on the object--> then select Open to begin debugging the file, Exclude From Compilation, or Remove to delete the file.

    If you are unsure as to what the error is indicating, please send me a screenshot of the NinjaScript File column and Error column fully visible (not to be confused with the Code column)

    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 CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.


    Please let us know if we may be of further assistance.
    Marco G.NinjaTrader Customer Service

    Comment


      #3
      Hi Marco, I'm not sure how to debug.

      I ended up exporting the errors onto excel and screenshotting it.
      Attached Files

      Comment


        #4
        Thank you for your reply.

        Please write into to PlatformSupport[AT]NinjaTrader[DOT]Com along with a link to this forum post and we will be glad to assist with compiling your platform correctly.
        Marco G.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Marco View Post
          Thank you for your reply.

          Please write into to PlatformSupport[AT]NinjaTrader[DOT]Com along with a link to this forum post and we will be glad to assist with compiling your platform correctly.
          Just sent an email, thanks!

          Comment


            #6
            Tech Support member Drew ended up fixing the issue for me. There was some problem with an indicator I had downloaded earlier. Removing it allowed it to work afterwards.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Atilla, Today, 04:05 PM
            0 responses
            12 views
            0 likes
            Last Post Atilla
            by Atilla
             
            Started by Displacer, Today, 02:57 PM
            2 responses
            13 views
            0 likes
            Last Post Displacer  
            Started by SAILIKITY, 05-22-2019, 05:41 PM
            1 response
            9 views
            0 likes
            Last Post NinjaTrader_PaulH  
            Started by rmillar, 01-09-2019, 06:02 PM
            6 responses
            72 views
            1 like
            Last Post eDanny
            by eDanny
             
            Started by mlarocco, Today, 11:39 AM
            4 responses
            23 views
            0 likes
            Last Post mlarocco  
            Working...
            X