Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Highest High in a LookBack Period

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

    Highest High in a LookBack Period

    I've found a command that will return the number of bars ago that was the highest in a period, but not the highest high itself. Is there another method that returns the highest high (or lowest low for that matter) in a look back of period N?
    daven

    For reference the command I talked about is below:

    HighestBar() Definition
    Returns the number of bars ago the highest price value occured for the lookback period.


    Method Return Value

    An int value that represents number of bars ago.


    Syntax
    Bars.HighestBar(int period)

    #2
    MAX()

    RayNinjaTrader Customer Service

    Comment


      #3
      Highest = Max

      Oh Duh! Thanks for you help and infinite patience Ray. I'll look more intently next time.
      daven

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      29 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      46 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      38 views
      0 likes
      Last Post CarlTrading  
      Working...
      X