Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

position in range of lookback period

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

    position in range of lookback period

    Hi,
    For builder, is there a method of identifying the range position of o, h, l, or c within a lookback? e.g. the close of [0] is in the bottom 10 percentile or lowest 10% of the last 30 bars?
    thanks,
    David

    #2
    Hi David, thanks for posting. The builder can not do any mathematical operations between two numbers or iterate through a data series . The script would need to be unlocked to find this range. The algorithm can be performed using concepts from C# programming such as a for loop (to iterate from bar 0 to bar x) and using data from any of the price series arrays.

    Kind regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Chippy, Today, 08:56 AM
    2 responses
    14 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by The_Righteous_One, Yesterday, 08:40 PM
    0 responses
    27 views
    0 likes
    Last Post The_Righteous_One  
    Started by Don22Trader1, Today, 07:32 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by ezrollin, Yesterday, 10:01 PM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by Genesis2021, Yesterday, 04:58 PM
    1 response
    22 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X