Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to draw a rectangle from top to bottom?

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

    How to draw a rectangle from top to bottom?

    I am trying to draw a particular market opening range based on time like this. I have the start time and end time. I want to figure out how to draw a gray zone that covers the start and end time, spanning from top to bottom of the price chart. Could anyone please help?

    Click image for larger version

Name:	image.png
Views:	112
Size:	102.4 KB
ID:	1323710

    #2
    Hello zehua,

    Thank you for your post.

    As marcus2300 stated, RegionHighlightX seems to be what you're looking for.

    Below is the Help Guide page on Draw.RegionHighlightX() you can use within your indicator.

    Last edited by NinjaTrader_Gaby; 11-05-2024, 08:44 AM.

    Comment

    Latest Posts

    Collapse

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