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

How to propagate changes to global drawing

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

    How to propagate changes to global drawing

    If you have a drawing that can be changed by a method other than the properties (i.e. change color via context menu etc), the change is not properly propagated if the drawing is also a global drawing. Instead the change takes place in the local drawing copy on the chart where the change tool place, while the other copies retain the original value. When using the properties everything works as expected and all copies are updated.

    How would one propagate changes to the "global" instance that is persisted from within drawing code?

    Does not seem reasonable to have a drawing look for and update all copies of a drawing when global.

    #2
    Hello aslane, thanks for your post.

    We currently have an open feature request to allow changes made by NinjaScript to Drawing tools to propagate throughout the workspace so that all globals are updated as well ID# SFT-4438. Ill add a vote to this for you. Did you try removing the draw object entirely and re-calling the corresponding Draw method? I would expect that to update properly with a possible slight hit to performance.

    I look forward to hearing from you.

    Last edited by NinjaTrader_ChrisL; 09-03-2020, 01:33 PM.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Hi, please add my vote to on this ID# SFT-4438
      sidlercom80
      NinjaTrader Ecosystem Vendor - Sidi Trading

      Comment


        #4
        Add my vote too please... thanks

        Comment


          #5
          Hello sidlercom80 and Heart,

          Thank you for your replies.

          I've added a vote for each of you to SFT-4438.

          Please let us know if we may be of further assistance to you.
          Kate W.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by benmarkal, Yesterday, 12:52 PM
          3 responses
          23 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by helpwanted, Today, 03:06 AM
          1 response
          19 views
          0 likes
          Last Post sarafuenonly123  
          Started by Brevo, Today, 01:45 AM
          0 responses
          11 views
          0 likes
          Last Post Brevo
          by Brevo
           
          Started by pvincent, 06-23-2022, 12:53 PM
          14 responses
          244 views
          0 likes
          Last Post Nyman
          by Nyman
           
          Started by TraderG23, 12-08-2023, 07:56 AM
          9 responses
          388 views
          1 like
          Last Post Gavini
          by Gavini
           
          Working...
          X