Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Function request

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

    Function request

    Hi,
    Has NT a function for lowest/highest close of X Bars?

    Baruch

    #2
    Please see MAX() and MIN().
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Hi Josh,
      Min() and Max() is not an answer. I want to know if I can get a lowest close of 4 bars with a function or do I need to do a loop query.
      Like Min(Close(4)[0])?

      Baruch

      Comment


        #4
        MIN() and MAX() is the answer.

        MIN(Close, 4)[0];
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Sorry my mistake. You are right.

          Baruch

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by ETFVoyageur, Today, 02:10 AM
          0 responses
          7 views
          0 likes
          Last Post ETFVoyageur  
          Started by rayyyu12, Today, 12:47 AM
          0 responses
          7 views
          0 likes
          Last Post rayyyu12  
          Started by ETFVoyageur, 05-07-2024, 07:05 PM
          17 responses
          136 views
          0 likes
          Last Post ETFVoyageur  
          Started by ETFVoyageur, Yesterday, 10:13 PM
          1 response
          10 views
          0 likes
          Last Post ETFVoyageur  
          Started by somethingcomplex, Yesterday, 10:36 PM
          0 responses
          10 views
          0 likes
          Last Post somethingcomplex  
          Working...
          X