Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Strategy label does not change in backtester

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

    Strategy label does not change in backtester

    Hi,
    I wrote a new Version of one of my strategies. When I load into the backtester, it Shows the Label of the old Version although the Name of the strategy class is different. Any clue what is causing it. I am loading the old Version and it Shows the Input Parameters. When I select the new Version, it does not Show the Input Parameters of the new Version but continues to Show the Input Parameters of the old Version, and the strategy Label does also not Change, still showing the old version's Label.
    Thanks for helping

    #2
    Did you try restarting NT?
    Are you setting the "Name" property in Initialize?

    Comment


      #3
      No re-start but I can try. I do not set Name property in Initialize in any of my strategies, but it always worked fine so far except for the last one. Do you have a code snippet for me?

      Comment


        #4
        Hello mstreck,

        To confirm, did you make a copy of the script with a new unique name?

        Below is a link to a video of copying a script.
        Dive into manipulating C# code from within an unlocked NinjaScript strategy using the NinjaScript Editor.NinjaTrader 7 is an award winning end to end online ...


        Are you seeing the original and the copy with the same name in the Strategy Analyzer drop-down?

        Do you see errors appearing in the Log tab of the Control Center?
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Thanks for helping, indeed a bug in Initialize caused the Problem. Will debug it now.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Haiasi, 04-25-2024, 06:53 PM
          2 responses
          17 views
          0 likes
          Last Post Massinisa  
          Started by Creamers, Today, 05:32 AM
          0 responses
          5 views
          0 likes
          Last Post Creamers  
          Started by Segwin, 05-07-2018, 02:15 PM
          12 responses
          1,786 views
          0 likes
          Last Post Leafcutter  
          Started by poplagelu, Today, 05:00 AM
          0 responses
          3 views
          0 likes
          Last Post poplagelu  
          Started by fx.practic, 10-15-2013, 12:53 AM
          5 responses
          5,407 views
          0 likes
          Last Post Bidder
          by Bidder
           
          Working...
          X