PDA

View Full Version : Highest High in a LookBack Period


daven
09-28-2007, 11:34 AM
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)

NinjaTrader_Ray
09-28-2007, 12:09 PM
MAX()

http://www.ninjatrader-support.com/HelpGuideV6/MaximumMAX.html

daven
09-28-2007, 12:39 PM
Oh Duh! Thanks for you help and infinite patience Ray. I'll look more intently next time.
daven