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 adeelshahzad, Today, 03:54 AM
            5 responses
            32 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by stafe, 04-15-2024, 08:34 PM
            7 responses
            31 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by merzo, 06-25-2023, 02:19 AM
            10 responses
            823 views
            1 like
            Last Post NinjaTrader_ChristopherJ  
            Started by frankthearm, Today, 09:08 AM
            5 responses
            19 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Started by jeronymite, 04-12-2024, 04:26 PM
            3 responses
            43 views
            0 likes
            Last Post jeronymite  
            Working...
            X