Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Compilation not taking effect

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

    Compilation not taking effect

    I have compiled a new version of my indicator and refreshed (F5) an existing chart. However, the old version of the indicator is still in effect on the chart.
    I also tried removing the indicator and applying it again, with the same result.

    In my indicator I have a DrawRay that is commented out in the new compiled version. However, this DrawRay still appears on my chart after the refresh.

    How do I delete (unregister) the old compilation? I thought this might force the chart to use the new compilation.

    thanks.

    #2
    Please try pressing F5 on chart.

    Comment


      #3
      Maybe you could also try right click on chart->Drawing Tools->Remove All Draw Objects.
      Josh P.NinjaTrader Customer Service

      Comment


        #4
        I have tried F5 on the chart, and it did not work.
        I know how to manually remove the objects from the chart. My mention of the DrawRay was only to show that the new compilation was not taking effect.
        My workaround is to save the source of the updated indicator as a new name, delete the old indicator, then rename the new version of the indicator to the name that I previously deleted. When I add the new (renamed) indicator it works as it should.

        Comment


          #5
          That is odd because it should work to just remove the indicator from the chart and readding the indicator. Have you tried closing the chart and then just opening a new chart to see if the new version takes hold?
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            >> I have tried F5 on the chart, and it did not work.
            Sorry, I'm on a loss. It does work here. May be your code change is not effective, since there is some condition (e.g. if statement) which is not triggered. You would need to debug you code: http://www.ninjatrader-support.com/v...ead.php?t=3418

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            597 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            343 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            103 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            556 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            555 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X