• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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()

    http://www.ninjatrader-support.com/H...aximumMAX.html
    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 brunoviveiros, Today, 04:31 AM
      2 responses
      13 views
      0 likes
      Last Post brunoviveiros  
      Started by foxy_rav, Today, 06:31 AM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by neilzep, Today, 06:42 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by teafortwo, Today, 04:26 AM
      3 responses
      8 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by autogenix, Today, 12:54 AM
      3 responses
      11 views
      0 likes
      Last Post NinjaTrader_Marco  
      Working...
      X