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 StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,965 views
    3 likes
    Last Post jhudas88  
    Started by rbeckmann05, Today, 06:48 PM
    0 responses
    4 views
    0 likes
    Last Post rbeckmann05  
    Started by rhyminkevin, Today, 04:58 PM
    4 responses
    52 views
    0 likes
    Last Post dp8282
    by dp8282
     
    Started by iceman2018, Today, 05:07 PM
    0 responses
    5 views
    0 likes
    Last Post iceman2018  
    Started by lightsun47, Today, 03:51 PM
    0 responses
    8 views
    0 likes
    Last Post lightsun47  
    Working...
    X