View Full Version : Plans for Highest/Lowest with IDataSeries?
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?
08-14-2007, 11:05 AM
We already have this implemented...I believe this is what you want:
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.
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.
08-15-2007, 06:52 AM
This has been implemented for NT 6.5 due out this fall.
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 = Volume [Lowestbar(Volume, lookback)] )
resulted in The name 'Lowestbar does not exist in the current context Thank you in advance for your response.
01-20-2008, 12:29 AM
The syntax is LowestBar(IDataSeries series, int lookBackPeriod) with a capital B not a lower case one.
01-28-2008, 03:42 AM
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?
01-28-2008, 07:24 AM
Unfortunately not but I will add it to our list.