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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    41 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X