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, 05-11-2026, 05:56 AM
        0 responses
        33 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        184 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        343 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        264 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X