Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Price bar near but not cross price X?

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

    Price bar near but not cross price X?

    Does NinjaTrader have a bar method where the body of the price bar does not cross through a certain price point? I find I'm having to always code close and open checks.

    The near part I can always check for the avg bar price < or > (distance constant) for near

    #2
    Hello jwikker,

    Thank you for your post.

    Are you asking about a custom bar type that would build a bar after a certain price point for each bar?

    What bar type are you testing your code on?

    I look forward to your response.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    67 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    41 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    24 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    27 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    53 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X