Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Min/max

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

    Min/max

    LowValuePast=MIN(Lows[0],30)[1];


    This will return
    1) The lowest bar value
    2) On index 0 (my current chart)
    3) It will go 30 bars back
    4) Beginning 1 bar ago (It will ignore the current bar)
    If I changed this value to 5 it would ignore bar 0-4 and begin the search on bar 5.
    This would mean it will go back 30 - 5 bars back or 25 bars or will it begin to
    count 30 bars back from 5 bars ago?

    Do I have this right ??
    Thank you..



    #2
    Hello dukeb,

    It will begin 5 bars ago and then go back 30 additional bars, so it will basically check 35 to 5 bars ago for the lowest value.

    Let us know if we can be of further assistance.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    617 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    357 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    561 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    566 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X