Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

retrieve the maximum or minimum values

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

    retrieve the maximum or minimum values

    Hi,

    Exactly how would I set up an indicator to retrieve the maximum or minimum values for a given period (lets say within the last 10 bars) .
    I want to be able to use this process for different indicators such as ADL , RSI , and MFI.

    I did read / look into information about using mathmax but I'm not sure how to set this up for Plot0.Set ... Thanks so much...

    #2
    Hi Shawn,

    Here's more info on the MAX() method - http://www.ninjatrader-support.com/H...tml?MaximumMAX


    To use this in a plot, you could do something like
    Code:
    Plot0.Set(MAX(RSI(14, 13),10)[0]);
    TimNinjaTrader Customer Service

    Comment


      #3
      Thanks

      Will try...

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      61 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      40 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      21 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      23 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      51 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X