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 hazylizard, Today, 08:38 AM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_Erick  
          Started by geddyisodin, Today, 05:20 AM
          2 responses
          16 views
          0 likes
          Last Post geddyisodin  
          Started by Max238, Today, 01:28 AM
          5 responses
          43 views
          0 likes
          Last Post Max238
          by Max238
           
          Started by giulyko00, Yesterday, 12:03 PM
          3 responses
          13 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by habeebft, Today, 07:27 AM
          1 response
          16 views
          0 likes
          Last Post NinjaTrader_ChristopherS  
          Working...
          X