Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can I detect new text?

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

    Can I detect new text?

    Slightly odd request.
    I have a 3rd party indicator which plots some text on the chart occasionally. I would like to know when this happens programatically.. I have no desire to hack the programme.
    As I don't have access to the source code and the originator won't provide outputs - is there anyway to detect when text is added to my chart.
    I assume every piece of text has a unique tag number possibly.
    Anyway would appreciate any thoughts.

    #2
    Mindset, if you right click on the object can you see which tag id is being used - then you could try accessing the object from the DrawObjects collection - http://www.ninjatrader.com/support/h...rawobjects.htm

    Comment


      #3
      Count

      Ok that might put me on the right path.
      How could I compare DrawObjects.Count with a prior value? Would I need to make it it's own data series?

      Comment


        #4
        Yes, you would need to store previous count values to be able to compare then later.

        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
        87 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        131 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
        106 views
        0 likes
        Last Post CarlTrading  
        Working...
        X