PDA

View Full Version : Plans for Highest/Lowest with IDataSeries?


mazachan
08-14-2007, 10:58 AM
Any idea if ninja will be supporting a HighestBar/LowestBar where you can pass in a data series and a lookback? Or do I have to "roll my own" method for doing that?

Thanks

NinjaTrader_Ray
08-14-2007, 11:05 AM
We already have this implemented...I believe this is what you want:

http://www.ninjatrader-support.com/HelpGuideV6/HighestBar.html
http://www.ninjatrader-support.com/HelpGuideV6/LowestBar.html

mazachan
08-14-2007, 11:15 AM
But will that work with indicators? Or is that the highest/lowest for price? Say I want the highest MACD high from the session start, it does not allow me to pass in a data series to find that.

NinjaTrader_Ray
08-14-2007, 11:58 AM
Right, it will not work for data series, I overlooked that subtle detail. You will have to roll your own however, I will add this to our list.

NinjaTrader_Ray
08-15-2007, 06:52 AM
This has been implemented for NT 6.5 due out this fall.

thrunner
01-19-2008, 11:12 PM
This has been implemented for NT 6.5 due out this fall.Was this ever implemented for 6.5 ? If so, how would I code the following:
For example, the following code:
if(Volume[0] = Volume [Lowestbar(Volume, lookback)] )
Values[0].Set(Volume[0]);
resulted in The name 'Lowestbar does not exist in the current context Thank you in advance for your response.

NinjaTrader_Josh
01-20-2008, 12:29 AM
The syntax is LowestBar(IDataSeries series, int lookBackPeriod) with a capital B not a lower case one.

palinuro
01-28-2008, 03:42 AM
Hi,
Is there a method for obtaining Highest/Lowest for a specific past lookbackperiod, i.e, one that starts n bars ago instead of at the current bar?

TIA

NinjaTrader_Ray
01-28-2008, 07:24 AM
Unfortunately not but I will add it to our list.