Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Drawing from NinjaScript attaching object to chart

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

    Drawing from NinjaScript attaching object to chart

    Hi,
    when creating a draw object (say within an indicator) the normal format is Draw.Rectangle(this,.... which of course attaches the DrawObject to the NinjaScript creating it.

    However, user drawn objects are attached to the chart itself.
    Is there a way to create a draw object from NinjaScript that attaches to the chart, and does not get deleted when the indicator (or whatever) is removed off the chart?

    Thanks,
    saltminer

    #2
    Hello saltminer,

    At this time I am unaware of any exposed or documented way to do this, I will put in a feature request but at the moment any script drawn object would be locked to its parent so it can be removed/re-added as needed by the script.

    Feature tracking ID: SFT-2572

    I look forward to being of further assistance.
    Last edited by NinjaTrader_Jesse; 04-12-2019, 10:51 AM.

    Comment


      #3
      Hey. is there any decision on the issue?

      Comment


        #4
        Hello Arkadiy_B,

        I updated my prior post with the feature tracking ID for this request and have added another vote for this. At this time this would be a feature request.

        I look forward to being of further assistance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        596 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        343 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        556 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        554 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X