Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Check if platform is closing

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

    Check if platform is closing

    Is there a way to know that a window opened from an addon is closed by the user or closed by the platform when it is closing down?

    It seems that the window Onclosing event is triggered before the addon Terminated state and before NinjaTrader.Core.Globals.IsApplicationExiting would switch to true. The Closed event doesn't even trigger.
    The window hook returns WM_ message 16 in both cases. So I am out of options.
    Last edited by Zapzap; 04-08-2020, 02:32 PM.

    #2
    Hello Zapzap,

    There isn't anything documented on this and I wasn't able to find any unsupported/undocumented code for this.

    I will submit a feature request for the development team to consider this for a future version of NinjaTrader.

    Once I have a tracking ID for this request, I will post in this thread for future reference.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Zapzap,

      This request is being tracked with ID# SFT-4752.

      As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted in the Release Notes page of the Help Guide.

      Release Notes — https://ninjatrader.com/support/help...ease_notes.htm
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by alifarahani, 04-19-2024, 09:40 AM
      8 responses
      52 views
      0 likes
      Last Post alifarahani  
      Started by mmckinnm, Today, 01:34 PM
      2 responses
      4 views
      0 likes
      Last Post mmckinnm  
      Started by Conceptzx, 10-11-2022, 06:38 AM
      3 responses
      60 views
      0 likes
      Last Post NinjaTrader_SeanH  
      Started by f.saeidi, Today, 01:32 PM
      1 response
      2 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by traderqz, Today, 12:06 AM
      9 responses
      16 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X