Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chart Window propserties

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

    Chart Window propserties

    Hi,

    1. is there a way to get the name of a chart window into a custom indicator? I'd like to include it into the alert message so that I can identify which chart an alert is coming from.

    2. I'd also like to flash the chart with the alert and pop it into the foreground on the desktop if its possible.

    Thanks for any suggestions.

    #2
    davel, the first part is possible with the Bars Period Id and Value properties in NinjaScript :

    Comment


      #3
      Bertrand,

      Thanks for the reply. But I don't see how Bars Period Id returns the name of the chart window. Is there a better example?

      Thanks

      Comment


        #4
        davel, I'm not sure what you mean by window name : if you mean instrument then please use the Instrument.FullName as well in your message - http://www.ninjatrader.com/support/h...t_fullname.htm

        Comment


          #5
          Bertrand,

          I used your suggestions and worked around the problem. Thanks.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          152 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          89 views
          1 like
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          133 views
          2 likes
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          127 views
          1 like
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          107 views
          0 likes
          Last Post CarlTrading  
          Working...
          X