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 funk10101, Today, 09:43 PM
    0 responses
    6 views
    0 likes
    Last Post funk10101  
    Started by pkefal, 04-11-2024, 07:39 AM
    11 responses
    37 views
    0 likes
    Last Post jeronymite  
    Started by bill2023, Yesterday, 08:51 AM
    8 responses
    44 views
    0 likes
    Last Post bill2023  
    Started by yertle, Today, 08:38 AM
    6 responses
    26 views
    0 likes
    Last Post ryjoga
    by ryjoga
     
    Started by algospoke, Yesterday, 06:40 PM
    2 responses
    24 views
    0 likes
    Last Post algospoke  
    Working...
    X