Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    JesseNinjaTrader Customer Service

    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.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by ETFVoyageur, Today, 02:04 PM
        2 responses
        15 views
        0 likes
        Last Post ETFVoyageur  
        Started by mjbatts91, Today, 04:48 PM
        0 responses
        2 views
        0 likes
        Last Post mjbatts91  
        Started by 1001111, Today, 09:45 AM
        2 responses
        21 views
        0 likes
        Last Post 1001111
        by 1001111
         
        Started by cre8able, Today, 04:31 PM
        0 responses
        4 views
        0 likes
        Last Post cre8able  
        Started by leojimenezp, Today, 04:04 PM
        0 responses
        7 views
        0 likes
        Last Post leojimenezp  
        Working...
        X