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 Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        627 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        359 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        562 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        567 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X