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 Hwop38, 05-04-2026, 07:02 PM
          0 responses
          169 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          324 views
          0 likes
          Last Post CaptainJack  
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          250 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          351 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          180 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Working...
          X