Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Long bar indicator

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

    Long bar indicator

    Hi,

    Is there an indicator that can do two simple things,

    1) find bars which body is at least twice the size of the previous bar,
    2) draw a zone (Open+Close)/2 to Open.

    As on the print screen.

    If not, can someone please code it?

    Thanks in advance!

    #2
    Hello Lester Macena,

    Thanks for your post.

    I'm not aware of a specific indicator that accomplishes this task. The indicator could be developed relatively easily in comparison to more complex indicators. If you would like to take a stab at creating such an indicator, I would suggest referencing our open source indicators and then to play around with using Draw.Rectangle() which would be used to draw the zone. I've included documentation on working with Price Series data as well as documentation on using Draw.Rectangle() for further direction. Working with Price Series data will explain using bars ago references (comparing current bar to previous bar.)

    Working with Price Series - https://ninjatrader.com/support/help...ice_series.htm

    Draw.Rectangle() - https://ninjatrader.com/support/help..._rectangle.htm

    I'll leave this thread open ended for any community members that would like to build this indicator for you. If it interests you, we could also have a representative of our EcoSystem reach out with information on NinjaScript Consultants who would be happy to write such an indicator for you by request.

    Please let us know if this is something that interests you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    633 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    364 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    567 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    568 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X