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 jeronymite, 04-12-2024, 04:26 PM
      3 responses
      40 views
      0 likes
      Last Post jeronymite  
      Started by bill2023, Today, 08:51 AM
      2 responses
      16 views
      0 likes
      Last Post bill2023  
      Started by sidlercom80, 10-28-2023, 08:49 AM
      167 responses
      2,260 views
      0 likes
      Last Post jeronymite  
      Started by warreng86, 11-10-2020, 02:04 PM
      7 responses
      1,362 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by Perr0Grande, Today, 08:16 PM
      0 responses
      5 views
      0 likes
      Last Post Perr0Grande  
      Working...
      X