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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      102 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      144 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      71 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X