Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Monitor Instrument/Interval Change From AddOn

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

    Monitor Instrument/Interval Change From AddOn

    From within an AddOn, what would be the recommended way to monitor for an Instrument or Interval change within a chart window?

    #2
    Hello,

    Thank you for the post.

    The Linking and Interval system is exposed for addons, you can find a sample of that in the basic addon sample here:



    If you are asking how to otherwise observe a specific chart window for changes only in that window, I would be unaware of a way to do so with the linking/interval system.

    The addon can implement these interfaces and then observe changes that occur which could spawn from a chart window. The link would still work like it does in a chart, so if there is no link color selected in the addon, it would not have anything to observe.



    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Sorry, should have been more specific. I was referring to an AddOn that does not have a window, so the linking interface is not usable.Also, want to monitor for any change, not just linked charts. I was hoping there would be some way to hook each chart and monitor for changes.

      Comment


        #4
        Hello,

        Thank you for clarifying. As far as I am aware this would require the use of a window as the picker needs to be involved in the color selecting process. I will need to confirm if this is at all possible while only using code without a UI, once I have more details on that I will reply back here.


        Please let me know if I may be of additional assistance.
        JesseNinjaTrader Customer Service

        Comment


          #5
          Hello,

          I just wanted to reply back on this item.

          It looks like this is currently not possible by any documented/supported means, all links would require the UI linking to be present to be selectable.

          I will put in a feature request for this.

          I look forward to being of further assistance.
          JesseNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Max238, Today, 01:28 AM
          2 responses
          26 views
          0 likes
          Last Post NinjaTrader_ChristopherJ  
          Started by Shansen, 08-30-2019, 10:18 PM
          25 responses
          949 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by JonesJoker, 04-22-2024, 12:23 PM
          8 responses
          41 views
          0 likes
          Last Post JonesJoker  
          Started by timko, Today, 06:45 AM
          0 responses
          5 views
          0 likes
          Last Post timko
          by timko
           
          Started by Waxavi, 04-19-2024, 02:10 AM
          2 responses
          39 views
          0 likes
          Last Post poeds
          by poeds
           
          Working...
          X