Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Rectangle box that sums the volume

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

    Rectangle box that sums the volume

    Hi,

    I want to draw a rectangle box on the chart and have it tell me how much volume is within the box.
    How do i do this?

    the Orderflow volume profile tool is locked to the highest & lowest bar in a range.
    I want to build something that doesn't have that restriction.

    Are there any examples?
    Thanks,

    #2
    Hello yertle,

    Thank you for your post.

    Using a drawing tool (or creating your own) would be a way to accomplish this. DrawingTools typically have anchors that let you know what bars the drawing is anchored to (start and end points). You can create use a loop to iterate through the start and end index to sum the volumes of the bars within that range.

    Unfortunately I am not aware of any similar examples available.

    Below is a forum post that describes a similar concept:

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    127 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    72 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    112 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    109 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    88 views
    0 likes
    Last Post CarlTrading  
    Working...
    X