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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    47 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    15 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    21 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X