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

Modification of indicator used by strategy

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

    Modification of indicator used by strategy

    Scenario: I modify a custom indicator that is used by an active strategy. I make the changes and press compile for the indicator.

    Question: Does the strategy the uses this indicator see the new compiled version of the indicator or do I need to press f5 or "apply" on the strategy?

    I wanted to know what is required (if anything) to make sure the new version is used.

    Also if I recompile an active strategy do I need to do anything for the new version to take effect.

    Cliff
    Last edited by ct; 05-12-2007, 09:23 AM.

    #2
    Cliff,

    Good question. Any active strategies will be using the prior version of your indicator. If you change an indicator and have strategies running, you will have to remove those strategies and reapply them to a chart.
    RayNinjaTrader Customer Service

    Comment


      #3
      I should add, if you changed the implementation of the indicator by adding/removing Inputs, the method signature for this indicator may change. You may have to edit your strategy to compensate for the changing overloads.
      RayNinjaTrader Customer Service

      Comment


        #4
        Ray

        Thanks for the reply. Glad you are there but shame on you for working on Saturday. lol.

        I understand the signature issue but that isn't a problem for me. I have a set of values/constants I manually input each day. Then recompile. I can put the values in the strategy or custom indicator. I didn't know if one or the other was better.

        If I modify a strategy or indicator it seems f5 works. Is this ok or not recommended?

        Regards

        Cliff
        Last edited by ct; 05-12-2007, 10:21 AM.

        Comment


          #5
          Yes, F5 is fine since that reloads all NinjaScript objects in a chart.
          RayNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by stafe, Yesterday, 08:34 PM
          1 response
          14 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by jclose, Yesterday, 09:37 PM
          1 response
          11 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by firefoxforum12, Yesterday, 08:53 PM
          1 response
          15 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by kmunroe478, Yesterday, 05:39 PM
          2 responses
          15 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by kevinenergy, 02-17-2023, 12:42 PM
          115 responses
          2,700 views
          1 like
          Last Post kevinenergy  
          Working...
          X