Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Report max value over indicator data series

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

    Report max value over indicator data series

    I'm trying to create an indicator which calls for the max absolute value of another indicator over the past x amount of bars. For example, suppose I'm using CCI and want to get the max abs value over the past 500 bars. I want to get the highest CCI reading over the past 500 bars and the min CCI reading over the past 500 bars. Then take the ABS of the min reading and determine the max value of those two readings.
    Where I am stuck is how to determine the max or min over the 500 bars of the indicator. Can someone give me some direction?
    Thanks

    #2
    Hello Tdschulz,

    This is available with custom programming in NinjaScript. There are built in methods MAX() and MIN() that do this.

    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by MacDad, 02-25-2024, 11:48 PM
    7 responses
    158 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Today, 09:29 PM
    0 responses
    7 views
    0 likes
    Last Post Belfortbucks  
    Started by zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    151 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Working...
    X