• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by simjs, Today, 08:11 PM
          0 responses
          3 views
          0 likes
          Last Post simjs
          by simjs
           
          Started by mrlucky1x, Today, 06:01 PM
          0 responses
          3 views
          0 likes
          Last Post mrlucky1x  
          Started by dedouglas, Today, 03:17 PM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by Jugado, Today, 02:22 PM
          2 responses
          30 views
          0 likes
          Last Post Jugado
          by Jugado
           
          Started by login_dejavu, Yesterday, 04:58 AM
          2 responses
          24 views
          0 likes
          Last Post login_dejavu  
          Working...
          X