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 pibrew, Today, 06:37 AM
    0 responses
    0 views
    0 likes
    Last Post pibrew
    by pibrew
     
    Started by rbeckmann05, Yesterday, 06:48 PM
    1 response
    12 views
    0 likes
    Last Post bltdavid  
    Started by llanqui, Today, 03:53 AM
    0 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    10 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    15 views
    0 likes
    Last Post AaronKoRn  
    Working...
    X