Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem with stratgey, NT7

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

    Problem with stratgey, NT7

    I created a simple strategy which is working fine with NT6.5 but today I installed NT7 16 and tried to create the same strategy with NT7 but it gave me error message, like CS0234 and CS0246.

    My second question is, can I import the same strategy from NT6.5 in to NT7?

    #2
    Allen, please review this link here as the migration process including NinjaScript files is detailed out here - http://www.ninjatrader.com/support/f...ad.php?t=21019

    Does your strategy draw? Then you would need to amend the overload calls as those were updated to include the autoScale parameter and PixelOffSet (for some)...which should be an easy fix with Intellisense's help.

    Comment


      #3
      Thank you for your respond but I think there are still issues with NT7. the question is why something working in NT6.5 but not in NT7, something exactly identical. I copied same strategy in to NT7, it would not generate the strategy, no draw ,nothing, in fact it does not show my strategy in strategy icon on the chart. I decided to delete the NT7 and continue using the NT6.5 which I have no problem with.

      Comment


        #4
        Is your strategy 'enabled' at all? This is a new concept in NT7, so if you add a strategy to your chart please ensure the 'enabled' property is set to 'true' for it to run as expected.

        Comment


          #5
          Yes ,I enabled that too.

          Comment


            #6
            Ok, great - so any errors in the log tab after enabling it? Would you have a simple snippet for me to test and look into?

            Thanks

            Comment


              #7
              Error codes: CS0234 and CS0246

              Comment


                #8
                Please compile your NinjaScript files, likely a needed DLL reference is missing - you could readd it by right clicking in an indicator's source code in the NinjaScript editor via References > Add.

                Comment


                  #9
                  I did that several times it didn't work. you know what, I going to delete all NT7 components
                  and install a fresh NT7.

                  Comment


                    #10
                    Ok, please let me know how this goes and if you're able to get your strategy to run after this then.

                    Thanks

                    Comment


                      #11
                      I did install a fresh NT7 but I didn't migrate anything from NT6.5 in to NT7, the only thing I did, was copied my strategy from NT6.5 ( bin, custom, strategy file) in to NT7 ( bin, custom, strategy file) and now working fine.
                      Thank you for your help, you guys are great. This forum is also great source of information , I am a rookie in creating strategy but anything I did and learned was from this forum. I definitely check back here often to add to my knowledge .

                      Comment


                        #12
                        You're welcome, thanks for the kind words and great to hear you're up and running now. For creating strategies, be sure to work with our wizard interface as it's a good way to learn methods and syntax used without having to dive into custom coding upon starting out -

                        Comment


                          #13
                          Yes , I will
                          Thank you guys again.

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                          0 responses
                          612 views
                          0 likes
                          Last Post Geovanny Suaza  
                          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                          0 responses
                          355 views
                          1 like
                          Last Post Geovanny Suaza  
                          Started by Mindset, 02-09-2026, 11:44 AM
                          0 responses
                          105 views
                          0 likes
                          Last Post Mindset
                          by Mindset
                           
                          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                          0 responses
                          561 views
                          1 like
                          Last Post Geovanny Suaza  
                          Started by RFrosty, 01-28-2026, 06:49 PM
                          0 responses
                          564 views
                          1 like
                          Last Post RFrosty
                          by RFrosty
                           
                          Working...
                          X