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 sjsj2732, Yesterday, 04:31 AM
          0 responses
          33 views
          0 likes
          Last Post sjsj2732  
          Started by NullPointStrategies, 03-13-2026, 05:17 AM
          0 responses
          286 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          284 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          133 views
          1 like
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          91 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Working...
          X