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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        82 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        43 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        68 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        56 views
        0 likes
        Last Post CarlTrading  
        Working...
        X