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 charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          55 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          142 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          160 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          96 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          276 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X