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 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
        326 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        251 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        353 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