Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

method to clear Alert Window

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

    method to clear Alert Window

    Is there a method/function call to clear/reset the Alert Window?

    I haven't seen one.

    Thx.

    #2
    Turtle Trader, there's ResetAlerts() for resetting the rearm times of all alerts.



    For clearing the content we have not documented one, however you might find looking into NinjaTrader.Cbi.Globals.Alerts.Clear() helpful.

    Comment


      #3
      reply

      Thank you Bertrand :-)

      Comment


        #4
        in NT 8??

        Hello, there is no longer a NinjaTrader.Cbi.Globals.Alerts.Clear() in NT8

        How can I clear the entire/all Alert windows in NT8?

        Thanks..

        Comment


          #5
          Originally posted by Turtle Trader View Post
          Hello, there is no longer a NinjaTrader.Cbi.Globals.Alerts.Clear() in NT8

          How can I clear the entire/all Alert windows in NT8?

          Thanks..
          Unfortunately this is not possible with NT8 as this is not a publicly supported feature for the Alerts log. NT7 has the nondocumented / internal Alerts.Clear() which we posted however this was deprecated with NT8.

          Comment


            #6
            well.............

            Well, in NT7 I automatically clear the Output and the Alerts with code every 15 minutes....

            this is because when I let them "fill up", and didn't clear them, it eventually caused instability in NT....as my system runs 24 hours a day (during the trading week).

            In NT8 I would have to manually shut the Alerts down when I leave the trading day, probably I will have to stop using the Alerts, I have an XMPP server that provide the same in a distributed way

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            149 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            84 views
            1 like
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            129 views
            2 likes
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            125 views
            1 like
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            102 views
            0 likes
            Last Post CarlTrading  
            Working...
            X