Finding barindex using function

Forums ProRealTime English forum ProOrder support Finding barindex using function

Viewing 6 posts - 1 through 6 (of 6 total)
  • #75471

    Hello Folks

    Can anyone tell me if it is possible to find the barindex value based on a function (i.e. barindex of lowest[10](low))

    Currently, I have to measure and compare each bar with the function output in order to find and identify the bar index of a specific function.

    #75472

    Yes, apart doing loops, there is no function/instruction to do that. I asked IT Finance about adding this kind of instruction, don’t know when it will be available.

    #75474

    Thank you for the prompt reply Nicolas.

    Currently, I am using loops was just hoping there was an easier way

    #86387

    Bro how do I found the bar index using loops?

    #86396

    You can do something like this to find your lowest low in the previous 10 bars barindex.

     

    1 user thanked author for this post.
    #86397

    …or you can do something like this which works slightly faster as it does not need to complete each loop if the lowest low is found earlier in the run.

     

    1 user thanked author for this post.
Viewing 6 posts - 1 through 6 (of 6 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login