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 CarlTrading, Yesterday, 11:51 AM
      0 responses
      17 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, Yesterday, 11:48 AM
      0 responses
      22 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-25-2026, 09:53 PM
      0 responses
      21 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 03-25-2026, 09:51 PM
      0 responses
      13 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 03-23-2026, 11:13 AM
      0 responses
      20 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X