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 Jon17, Today, 04:33 PM
    0 responses
    1 view
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    4 views
    0 likes
    Last Post Javierw.ok  
    Started by timmbbo, Today, 08:59 AM
    2 responses
    10 views
    0 likes
    Last Post bltdavid  
    Started by alifarahani, Today, 09:40 AM
    6 responses
    41 views
    0 likes
    Last Post alifarahani  
    Started by Waxavi, Today, 02:10 AM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Working...
    X