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 kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    125 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    85 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    84 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X