Announcement

Collapse
No announcement yet.

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 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