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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    57 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    143 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    161 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    97 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    276 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X