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 HeimNT, 09-23-2022, 03:27 AM
    2 responses
    13 views
    0 likes
    Last Post HeimNT
    by HeimNT
     
    Started by MattD888, 09-05-2022, 06:35 AM
    14 responses
    182 views
    1 like
    Last Post matejzlv  
    Started by goketgumie, Today, 02:25 AM
    0 responses
    3 views
    0 likes
    Last Post goketgumie  
    Started by goketgumie, Today, 02:23 AM
    0 responses
    6 views
    0 likes
    Last Post goketgumie  
    Started by Alpha2Omega007, Today, 01:10 AM
    0 responses
    9 views
    0 likes
    Last Post Alpha2Omega007  
    Working...
    X