Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Global Drawing Object modification in code

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

    Global Drawing Object modification in code

    In v7, I notice that when I create a drawing object programatically in an indicator - e.g. a regression channel - and then clicking on it, the properties "Attach to" is greyed out even when unlocked. It cannot be changed as far as I can see.

    Is there any way of:

    1) Creating a drawing object - in code only - on one chart and propagating it across other charts?

    2) Creating a manually drawn object on one chart, propagating it across other charts (via "Attach To") but then have an indicator on one chart which will modify it. This should in turn modify the other objects on the other charts.

    All I have found is a reference to global objects tags having "@" as the first character and "global" as a prefix to the drawing object name but no other information on how the above might be done.

    Any help or code would be much appreciated. Thanks.

    #2
    On item #1, it is not possible to do this via code, this is on our list of requested features. On #2, yes I believe this is possible. Your indicator must grab that chart object (must of course know its name) and can then amend its properties which in turn would propagate across all charts.







    See if the above thread references provide some guidance.
    RayNinjaTrader Customer Service

    Comment


      #3
      Thanks very much Ray.

      Comment


        #4
        Hi,

        Is there any update on when/if item 1 in Rays reply below (post #2) will be available?

        Thanks

        Comment


          #5
          rt-trader,

          It is on our list of future considerations. Right now our priorities are to resolve critical bugs and get NT7 to a production state. Then we will be able to review our feedback list again after that to see what we can do.
          Josh P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          581 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          338 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
          554 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          552 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X