Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plans for Highest/Lowest with IDataSeries?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Plans for Highest/Lowest with IDataSeries?

    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

    #2
    We already have this implemented...I believe this is what you want:

    http://www.ninjatrader-support.com/H...ighestBar.html
    http://www.ninjatrader-support.com/H...LowestBar.html
    RayNinjaTrader Customer Service

    Comment


      #3
      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.

      Comment


        #4
        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.
        RayNinjaTrader Customer Service

        Comment


          #5
          This has been implemented for NT 6.5 due out this fall.
          RayNinjaTrader Customer Service

          Comment


            #6
            Originally posted by NinjaTrader_Ray View Post
            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:
            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.

            Comment


              #7
              The syntax is LowestBar(IDataSeries series, int lookBackPeriod) with a capital B not a lower case one.
              Josh P.NinjaTrader Customer Service

              Comment


                #8
                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

                Comment


                  #9
                  Unfortunately not but I will add it to our list.
                  RayNinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by jcbinks, Today, 03:32 PM
                  2 responses
                  14 views
                  0 likes
                  Last Post jcbinks
                  by jcbinks
                   
                  Started by Stefan Mayer, Today, 03:09 PM
                  1 response
                  13 views
                  0 likes
                  Last Post NinjaTrader_Kate  
                  Started by M_ichel, Today, 03:18 PM
                  1 response
                  11 views
                  0 likes
                  Last Post NinjaTrader_ShawnB  
                  Started by ralett, Today, 02:43 PM
                  2 responses
                  15 views
                  0 likes
                  Last Post ralett
                  by ralett
                   
                  Started by Nightmaregpu, Today, 02:18 PM
                  1 response
                  13 views
                  0 likes
                  Last Post NinjaTrader_BrandonH  
                  Working...
                  X