Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

geting Max High from Min BIP on Tick BIP Update

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

    geting Max High from Min BIP on Tick BIP Update

    If I want to get the MAX high form 1 min time seies during OnBarUpdate for 1 Tick bars, can I do this:-


    Code:
    if(BarsInProgress == 3); // 1 tick bars
         { 
              x = MAX(Highs[1][0],CurrentBars[1] - longBar)[0] // 1 min Bars have index location 1
         }
    Would this work?

    Also is there a way of getting the HighestBar of the 1 min bar series during OnBarUpdate for 1 tick time series?

    #2
    Hello GKOnheiser,

    Thank you for your post.

    Have you tested the code?

    I would expect that you would get the value that you are looking for.

    I highly recommend testing this out and checking that the values are the ones you want.

    Additionally, you can look into using HighestBar -
    http://www.ninjatrader.com/support/h...highestbar.htm
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    648 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X