Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Program to draw Global Rectangles?

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

    Program to draw Global Rectangles?

    I am trying to draw a rectangle (in NT7) using an IDrawObject that will attach to all charts with the same Instrument name. I get the rectangle to draw on the chart I put the indicator on, but it does not show on the others. When I go into the rectangles properties dialog box, I can click on the "attach to all charts" option and It will show on others, but when the rectangle is programattically updated on the main chart, it does not update on the other charts. Here's the code for drawing ...

    IRectangle rectangle = DrawRectangle("@Rec1", false, swingHigh1, Low[swingHigh1], -1, High[swingHigh1], Color.PaleGreen, Color.PaleGreen, 2);

    Thanks for any help on this!

    #2
    jhanrahan, welcome to the forums - creating global draw objects manually is unfortunately not possible currently, but already on our list for future consideration.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    574 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    333 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    553 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X