Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug?

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

    Bug?

    I made strategy B from strategy A (copy all code to strategy B and rename strategy to B - public class B : Strategy).
    But now when I try edit strategy B opened wizard with strategy A.
    Strategy A deleted from strategy folder.
    I can't understand where NT take strategy A content?

    #2
    Hi fxcom,

    Can you clarify here: "But now when I try edit strategy B opened wizard with strategy A.
    Strategy A deleted from strategy folder."

    What exact behavior are you seeing, an error, something else?
    TimNinjaTrader Customer Service

    Comment


      #3
      When I click tools=>Edit NinjaScript=>Strategy=>B=>OK I see Wisard window 'Edit strategy' but it is not strategy B but strategy A.
      In same time I have no strategy A in folder Ninja Trader 7=>bin=>Custom=>Strategy.
      I already deleted it.

      Comment


        #4
        Hi fxcom,

        If you no longer see the strategy you need, and has been deleted, unfortunately it is not recoverable.
        Are you able to do what you need from the available strategy, by unlocking the code from the wizard?
        TimNinjaTrader Customer Service

        Comment


          #5
          You don't understand me.
          Vice versa.
          I see strategy that I don't need (strategy A instead strategy B).
          And I ask you what can I do with it?

          Comment


            #6
            fxcom,

            I am not following...
            Is the content of each of these strategies the same, since you copied them from eachother?
            Are you able to see the content you need?
            TimNinjaTrader Customer Service

            Comment


              #7
              No. Content not the same. This is a problem. I need edit strategy B but see strategy A and can't open strategy B for editing.

              Comment


                #8
                fxcom,

                Is Strategy B no longer available in the list? Or do you see it but receive an error, or do not see the content you expect?
                TimNinjaTrader Customer Service

                Comment


                  #9
                  Strategy B available in the list.
                  Strategy A no longer available in the list.

                  But when I try edit strategy B I see strategy A.

                  Comment


                    #10
                    HI fxcom,

                    Unless you created a backup, there is no way to recover the script, you'll need to recreate it.
                    TimNinjaTrader Customer Service

                    Comment


                      #11
                      I don't need recover anything.
                      I need edit strategy B that I have in listing but see instead it strategy A that I have no in listing.

                      Do you understand me?

                      Comment


                        #12
                        Hi fxcom,

                        No, I am not following, please send a note to [email protected], and provide me with a phone number, and reference this post.
                        TimNinjaTrader Customer Service

                        Comment


                          #13
                          Hello

                          I have experienced the same kind of problem on one of my computers. On my other computer with the same NT version, I don't have this problem. The computer with this problem, have XP, the one without the problem have Vista. I also see that if I find the strategy in the strategy folder and open it with notepad, I get the right code, but when i open it with NT strategy editor, I get wrong code.
                          It looks also for me that it occours when I copy a strategy and later try to edit the strategy I copy too.

                          Comment


                            #14
                            I found problem. See attached file.
                            I remove this section and now I can edit strategy in NT.
                            Attached Files

                            Comment

                            Latest Posts

                            Collapse

                            Topics Statistics Last Post
                            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                            0 responses
                            633 views
                            0 likes
                            Last Post Geovanny Suaza  
                            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                            0 responses
                            364 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
                            567 views
                            1 like
                            Last Post Geovanny Suaza  
                            Started by RFrosty, 01-28-2026, 06:49 PM
                            0 responses
                            568 views
                            1 like
                            Last Post RFrosty
                            by RFrosty
                             
                            Working...
                            X