NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 09-28-2007, 11:34 AM   #1
daven
Senior Member
 
Join Date: Mar 2006
Location: Bellingham, WA , USA
Posts: 331
Thanks: 0
Thanked 11 times in 8 posts
Default 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)
daven is offline  
Reply With Quote
Old 09-28-2007, 12:09 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
Default

MAX()

http://www.ninjatrader-support.com/H...aximumMAX.html
NinjaTrader_Ray is offline  
Reply With Quote
Old 09-28-2007, 12:39 PM   #3
daven
Senior Member
 
Join Date: Mar 2006
Location: Bellingham, WA , USA
Posts: 331
Thanks: 0
Thanked 11 times in 8 posts
Default Highest = Max

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plans for Highest/Lowest with IDataSeries? mazachan General Programming 8 01-28-2008 07:24 AM
Highest high of a time frame pablo_lasuncion Strategy Development 5 09-04-2007 02:05 PM
High greater than Highest High of last 20 Bars SamIam Strategy Development 1 08-19-2007 04:58 PM
Chart's highest is different to dome highest MrBaffalo Charting 16 03-08-2007 04:21 AM
Trial Period Activation Ripcat Installation and Licensing 3 11-10-2005 05:35 AM


All times are GMT -6. The time now is 02:10 AM.