Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

sample code error

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

    sample code error

    I am getting corruption errors when I try to import some of the sample strategy code. I haven't tried all of them , but the one's that I have tried give me corruption message when i try to import through the utility tab. I have cut and pasted the codes into new strategies but then I get a CS 0616 error on every third line.

    #2
    Asing, which error(s) are you exactly getting? Please try using the sample indicators and strategies as provided in the files and only take the next step in integrating them into your custom ones if you're confident you understand the code they contain, so you can make adjustments as needed then.

    Comment


      #3
      When I try to import through the utility, a dialog box pops up and tell me the NT files that I have downloaded to the desktop are corrupt. When I try to cut and paste the code into a custom strategy I get the CS0616 error in the IDE . I am pretty familiar with C# code and understand fairly well how to create a strategy.

      Comment


        #4
        Any follow through on this?

        Comment


          #5
          Asing, please see if your present NinjaScript files compile well before importing the new ones - you can do so directly from the NinjaScript editor by opening one indicator and then pressing F5 - would you see any errors listed at the bottom then? If yes, please post a screenshot here.

          Thanks.

          Comment


            #6
            I have had no problem compiling files except for these reference codes.

            Comment


              #7
              Can you please share which exact files / zips you try importing giving you the issues so I can look into?

              Thanks

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              649 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              370 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              109 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              574 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              576 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X