Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ability to Right Click and Copy a Strategy

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

    Ability to Right Click and Copy a Strategy

    It would be awesome if we had the ability to just right click in the NinjaTrader Editor Explorer and create a copy of a Strategy or Indicator with two clicks. In testing, a lot of modifications of code are made sometimes commenting out is not good enough. Right now, we have two options

    1. Go through windows explorer, make a new copy in the directory and NT Editor will see the difference and recompile or
    2. Create a new strategy/indicator etc.. through the wizard, copy the old code and paste it into the file, go through the code and rename the Class and the name so that it NT doesn't get confused.

    It would be so much easier if we could just right click and make a copy, especially if you have a strategy template that you use.

    #2
    Originally posted by cutzpr View Post
    It would be awesome if we had the ability to just right click in the NinjaTrader Editor Explorer and create a copy of a Strategy or Indicator ...

    It would be so much easier if we could just right click and make a copy, especially if you have a strategy template that you use.
    You already can. Use that same right-click popup menu to save the file to a new name, and it will make the necessary classname substitutions as part of the file-saving procedure.

    Comment


      #3
      Hello cutzpr,

      Below is a public link to a video that demonstrates copying a script.
      Dive into manipulating C# code from within an unlocked NinjaScript strategy using the NinjaScript Editor.3:11 Creating a New NinjaScript Strategy13:52 Analyz...


      As well as a public link to a post with helpful information about getting started with NinjaScript.
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Kaledus, Today, 01:29 PM
      0 responses
      3 views
      0 likes
      Last Post Kaledus
      by Kaledus
       
      Started by PaulMohn, Today, 12:36 PM
      1 response
      16 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by yertle, Yesterday, 08:38 AM
      8 responses
      37 views
      0 likes
      Last Post ryjoga
      by ryjoga
       
      Started by rdtdale, Today, 01:02 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by alifarahani, Today, 09:40 AM
      3 responses
      19 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X