Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT7B17: DrawObjects only work with realtime data

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

    NT7B17: DrawObjects only work with realtime data

    Hi NT support,

    I noticed that I am unable to check DrawObjects["tagname"] value or check the count of
    DrawObjects Attached please find a simple strategy using a modified SMA indicator. The SMA indicator was modified to draw triangle up or down depending on its direction. The strategy simple uses that indicator and prints DrawObjects.count which is always 0 on historical data.

    Please let me know if this is a bug of if I misunderstood the functionality.

    Thanks,
    Tim
    Attached Files

    #2
    Thanks nailz420, will take a look shortly.

    Comment


      #3
      I could reproduce this here when calling the indicator drawing from the strategy, works if I print for example from your test indicator directly - we'll check into.

      Comment


        #4
        nailz420, we checked into and this is expected - as you can't take control over other script's draw objects. It should work as expected if you access and print DrawObjects.Count from the indicator directly.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        607 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        353 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
        560 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        561 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X