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, 05-11-2026, 05:56 AM
      0 responses
      25 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      19 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      182 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      335 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      260 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X