Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MIN(Low, period)[0];

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

    MIN(Low, period)[0];

    Hello,
    how could it be calculated ONLY on the close of the bar ?
    BR

    #2
    mate,

    If you set "CalculateOnBarClose" to "False" it will calculate tick-by-tick.

    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Thanks AsamP,
      I mean "the close price on the lowest bar in the lookback period".
      The MIN() or MAX() are not those of the close of the bar.
      We have also LowestBar(Close, period) and i need the close price of this bar.

      Comment


        #4
        Hello,

        MIN(Close, PERIOD)[0]; //this will allow you to get the min value of the Closes during the PERIOD given.

        Close[LowestBar(Close,Period)]; // This will give you the Close value of the Lowest bar during the PERIOD given.

        Let me know if I can help out further.
        LanceNinjaTrader Customer Service

        Comment


          #5
          Thanks Lance B,
          is solved. I replaced MIN(Low, PERIOD)[0] with MIN(Close, PERIOD)[0].
          My mistake.

          Comment


            #6
            Glad to hear its working,

            Let me know if I can be of further assistance.
            LanceNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            571 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            330 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            548 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            549 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X