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 06-17-2009, 05:41 AM   #1
Shansen
Senior Member
 
Join Date: Jan 2009
Location: Melbourne
Posts: 178
Thanks: 3
Thanked 0 times in 0 posts
Default Chronological occurance of HighestBars / LowestBars

All,

Where, in a specific lookback period, there are multiple bars that share the same highest high value, the HighestBar function returns the most recent bar (chronologically) with the highest high value. Is there some way to specify this function return the earliest (chronologically) bar that satisfies the highest high value?

The same goes for the LowestBar function.

Thanks
Shannon
Shansen is offline  
Reply With Quote
Old 06-17-2009, 06:15 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

Shannon, unfortunately you would have to code this yourself to be calculated the way you need it.
Last edited by NinjaTrader_Bertrand; 06-17-2009 at 06:18 AM.
NinjaTrader_Bertrand 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
Chronological order of Threads garciaal Suggestions And Feedback 2 09-01-2007 05:25 PM


All times are GMT -6. The time now is 06:17 AM.