Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

On Close of Indicator

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

    On Close of Indicator

    Hi

    What method should I override when a indicator is closed down/removed .. i.e. the opposite of initialize ... I need to release some stuff when the chart is removed or the indicator is removed.

    Thanks

    Paul

    #2

    Comment


      #3
      Hello,
      Bltdavid is correct you would use the OnTermination() method event. OnTermination is called anytime that an indicator is removed or disabled(ie .Reload NinjaScript.)

      If we can be of any other assistance please let us know.
      Cody B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      131 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      74 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      117 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      111 views
      1 like
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      89 views
      0 likes
      Last Post CarlTrading  
      Working...
      X