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 hdge4u, 04-29-2024, 12:23 PM
      5 responses
      28 views
      0 likes
      Last Post MisterTee  
      Started by llanqui, 01-25-2024, 06:15 PM
      9 responses
      64 views
      0 likes
      Last Post MisterTee  
      Started by tradingnasdaqprueba, 05-07-2024, 03:42 AM
      16 responses
      65 views
      0 likes
      Last Post tradingnasdaqprueba  
      Started by Vulgoth_t_Destroyer, 05-09-2022, 04:45 PM
      55 responses
      5,463 views
      0 likes
      Last Post BartMan
      by BartMan
       
      Started by DawnTreader, 05-08-2024, 05:58 PM
      16 responses
      52 views
      0 likes
      Last Post DawnTreader  
      Working...
      X