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

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.
    BertrandNinjaTrader Customer Service

    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.
          BertrandNinjaTrader Customer Service

          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 Johnny Santiago, 10-11-2019, 09:21 AM
            95 responses
            6,193 views
            0 likes
            Last Post xiinteractive  
            Started by xiinteractive, 04-09-2024, 08:08 AM
            2 responses
            11 views
            0 likes
            Last Post xiinteractive  
            Started by Irukandji, Today, 09:34 AM
            1 response
            3 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Started by RubenCazorla, Today, 09:07 AM
            1 response
            5 views
            0 likes
            Last Post RubenCazorla  
            Started by TraderBCL, Today, 04:38 AM
            3 responses
            25 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X