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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    161 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    310 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    245 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    350 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X