• 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 tonynt, Today, 02:18 PM
          1 response
          4 views
          0 likes
          Last Post NinjaTrader_JoshG  
          Started by denalek2419, Today, 01:46 PM
          3 responses
          11 views
          0 likes
          Last Post NinjaTrader_ChristopherJ  
          Started by REI140205, Today, 12:58 PM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_Jim  
          Started by Aditrade, Today, 12:33 PM
          1 response
          3 views
          0 likes
          Last Post NinjaTrader_Kate  
          Started by music_p13, Today, 12:22 PM
          2 responses
          11 views
          0 likes
          Last Post music_p13  
          Working...
          X