Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Upload strategy fail

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

    Upload strategy fail

    Hi,

    I am just getting to grips with NT7, I have uploaded a few strategies and indicators and when i try to upload another an error message says there is a code error in a strategy that needs to be fixed before uploading.

    I have no idea how to find it and fix it

    can you help

    #2
    Hello,

    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 where you can find the error locations.
    • From there you have the option to remove the indicator or debug it.
    If you are unsure as to what the error is indicating, please attach a screenshot of the error with the name and description fields clearly readable.

    To attach 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 attach this file to your reply.

    Please let me know if I may be of further assistance.
    Christopher J.NinjaTrader Customer Service

    Comment


      #3
      Hi ,

      It says strategy\rysa.cs but there is no delete option. Where can i find the file, thank you for helping.

      Comment


        #4
        Ahhh all sorted, thank you for your help.

        Comment


          #5
          back again

          sorry back again,

          the errors listed "is a type but is used like a variable. and MIN / MAX does not exist in current context.

          I think they are locked indicators so i have no idea how to fix them

          Comment


            #6
            Please attach a screen shot of the error message you are receiving.
            Christopher J.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by sidlercom80, 10-28-2023, 08:49 AM
            168 responses
            2,262 views
            0 likes
            Last Post sidlercom80  
            Started by Barry Milan, Yesterday, 10:35 PM
            3 responses
            10 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by WeyldFalcon, 12-10-2020, 06:48 PM
            14 responses
            1,429 views
            0 likes
            Last Post Handclap0241  
            Started by DJ888, 04-16-2024, 06:09 PM
            2 responses
            9 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by jeronymite, 04-12-2024, 04:26 PM
            3 responses
            41 views
            0 likes
            Last Post jeronymite  
            Working...
            X