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

Flash window bar

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

    Flash window bar

    Hi,

    I have started using alerts, but with multiple windows, it's difficult to get to them timely as you have to check the alert text, figure out which window it came from etc.

    What I would like to do is have the indicator generating the alert flash the title bar of the window red, or something similar, so you can see exactly what chart the alert is from.

    Anyone know of a way to do this?

    Thanks,

    Paul

    #2
    Hello Paul,

    Thanks for your post.

    Can you clarify if you are using Alert() method in NinjaTrader7?
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hi,

      Yes, I'm using this

      Alert(DateTime.Now.Millisecond.ToString(), Cbi.Priority.Medium, "alert '@" + Close[0], Cbi.Core.InstallDir + @"\sounds\Alert4.wav", 0, Color.AliceBlue, Color.Black);

      and also somtimes plotting a marker, but I want the chart window title bar to blink red for a second or 2, or the background flash so that I can easily see what window the alert came from. It's not so easy to tell when you have several and looking at the dedicated alerts window.

      Thanks.

      Comment


        #4
        Hello Paul,

        Thanks for your reply.

        I am unaware of any code that would allow the title bar to flash. Looking in the Ninjatrader 7 indicator file sharing area there is an indicator that does flash the background that perhaps might give you a starting point for coding your own: http://ninjatrader.com/support/forum...hp?&linkid=440
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Looks like a good start. Thank you.

          Comment


            #6
            http://ninjatrader.com/support/forum...hp?&linkid=440 This link is not valid any more. Does anyone remember what the indicator name was?

            Comment


              #7
              Hello cay7man,

              I was not able to find what this link was to.

              Unfortunately, this would not be supported for NinjaTrader 7 and I would not have any resources to suggest.
              Chelsea B.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by sidlercom80, 10-28-2023, 08:49 AM
              168 responses
              2,262 views
              0 likes
              Last Post sidlercom80  
              Started by Barry Milan, Yesterday, 10:35 PM
              3 responses
              10 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by WeyldFalcon, 12-10-2020, 06:48 PM
              14 responses
              1,429 views
              0 likes
              Last Post Handclap0241  
              Started by DJ888, 04-16-2024, 06:09 PM
              2 responses
              9 views
              0 likes
              Last Post DJ888
              by DJ888
               
              Started by jeronymite, 04-12-2024, 04:26 PM
              3 responses
              41 views
              0 likes
              Last Post jeronymite  
              Working...
              X